]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05d4bb8b7f45983329dea81b1853a4da823215ce
treebe47a1f5333208647e016f1861eaf21fb963478b
parentb53a11b601b77f0dfc1157cae95586707195f893
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