]> git.baikalelectronics.ru Git - kernel.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)
commita626ee0c4e81d7c03dafbfcfda405139edcbb63a
tree527888dd4cda99501b7ac16a3783f57251807c13
parent05a507186784abf58533e6c7752c507941a2d3b6
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