projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
317b853
)
inotify: Fix erroneous update of bit count
author
Daniel Rosenberg
<drosen@google.com>
Wed, 23 Mar 2016 19:09:25 +0000
(12:09 -0700)
committer
Amit Pundir
<amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:20:03 +0000
(16:50 +0530)
Patch "vfs: add d_canonical_path for stacked filesystem support"
erroneously updated the ALL_INOTIFY_BITS count. This changes it back
Change-Id: Idb04edc736da276159d30f04c40cff9d6b1e070f
fs/notify/inotify/inotify_user.c
patch
|
blob
|
history
diff --git
a/fs/notify/inotify/inotify_user.c
b/fs/notify/inotify/inotify_user.c
index 9a0cd02cf3dc65e64cf60ab950b679a940c2550e..f72f3b25b3f22b92ab470d3711c008f3e8a425b1 100644
(file)
--- a/
fs/notify/inotify/inotify_user.c
+++ b/
fs/notify/inotify/inotify_user.c
@@
-825,7
+825,7
@@
static int __init inotify_user_setup(void)
BUILD_BUG_ON(IN_ISDIR != FS_ISDIR);
BUILD_BUG_ON(IN_ONESHOT != FS_IN_ONESHOT);
- BUG_ON(hweight32(ALL_INOTIFY_BITS) != 2
2
);
+ BUG_ON(hweight32(ALL_INOTIFY_BITS) != 2
1
);
inotify_inode_mark_cachep = KMEM_CACHE(inotify_inode_mark, SLAB_PANIC);