]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fsnotify: check to make sure all fsnotify bits are unique
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:50 +0000 (10:18 -0400)
commit20dee624ca40db227aa70cb3f44d2d6cb4fdbab4
tree527888dd4cda99501b7ac16a3783f57251807c13
parent44b350fc23e36e95c8e042b7ded66217ea2b9d72
fsnotify: check to make sure all fsnotify bits are unique

This patch adds a check to make sure that all fsnotify bits are unique and we
cannot accidentally use the same bit for 2 different fsnotify event types.

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