projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compat_ioctl: move hdio calls to block/compat_ioctl.c
[firefly-linux-kernel-4.4.55.git]
/
fs
/
inotify.c
diff --git
a/fs/inotify.c
b/fs/inotify.c
index f5099d86fd91fba6d3574e804be85a26e2201d68..7457501b95656087cfe27339b94d3bace7585782 100644
(file)
--- a/
fs/inotify.c
+++ b/
fs/inotify.c
@@
-509,7
+509,7
@@
void inotify_destroy(struct inotify_handle *ih)
mutex_unlock(&ih->mutex);
break;
}
- watch = list_
entry(watches->next
, struct inotify_watch, h_list);
+ watch = list_
first_entry(watches
, struct inotify_watch, h_list);
get_inotify_watch(watch);
mutex_unlock(&ih->mutex);