inotify: force inotify and fsnotify use same bits
authorEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:37 +0000 (10:18 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:49 +0000 (10:18 -0400)
commitf874e1ac21d7708464dc656a10312542c54719f1
treebe47a1f5333208647e016f1861eaf21fb963478b
parent8c1934c8d70b22ca8333b216aec6c7d09fdbd6a6
inotify: force inotify and fsnotify use same bits

inotify uses bits called IN_* and fsnotify uses bits called FS_*.  These
need to line up.  This patch adds build time checks to make sure noone can
change these bits so they are not the same.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/inotify/inotify_user.c
include/linux/inotify.h