Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d68fa639 authored by Daniel Rosenberg's avatar Daniel Rosenberg
Browse files

inotify: Fix erroneous update of bit count

Patch "vfs: add d_canonical_path for stacked filesystem support"
erroneously updated the ALL_INOTIFY_BITS count. This changes it back

Change-Id: Idb04edc736da276159d30f04c40cff9d6b1e070f
parent a38efdea
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -814,7 +814,7 @@ static int __init inotify_user_setup(void)
	BUILD_BUG_ON(IN_ISDIR != FS_ISDIR);
	BUILD_BUG_ON(IN_ISDIR != FS_ISDIR);
	BUILD_BUG_ON(IN_ONESHOT != FS_IN_ONESHOT);
	BUILD_BUG_ON(IN_ONESHOT != FS_IN_ONESHOT);


	BUG_ON(hweight32(ALL_INOTIFY_BITS) != 22);
	BUG_ON(hweight32(ALL_INOTIFY_BITS) != 21);


	inotify_inode_mark_cachep = KMEM_CACHE(inotify_inode_mark, SLAB_PANIC);
	inotify_inode_mark_cachep = KMEM_CACHE(inotify_inode_mark, SLAB_PANIC);