notification tree - numerous inotify fixes
Linus please consider pulling from the notification tree. They are all bug fixes in either inotify or fsnotify which were introduced with the fsnotify conversion. We've got a DoS, OOM, deadlock, functionality regression, and all sorts of fun.....
-Eric
The following changes since commit aea1f7964ae6cba5eb419a958956deb9016b3341:
Linus Torvalds (1):
Merge git://git.kernel.org/.../sam/kbuild-fixes
are available in the git repository at:
git://git.infradead.org/users/eparis/notify.git for-linus
Eric Paris (7):
inotify: drop user watch count when a watch is removed
inotify: do not leak inode marks in inotify_add_watch
inotify: fix error paths in inotify_update_watch
fsnotify: use def_bool in kconfig instead of letting the user choose
inotify: check filename before dropping repeat events
fsnotify: fix inotify tail drop check with path entries
inotify: use GFP_NOFS under potential memory pressure
fs/notify/Kconfig | 12 +---- fs/notify/dnotify/Kconfig | 2 +- fs/notify/fsnotify.c | 4 +- fs/notify/inotify/Kconfig | 2 +- fs/notify/inotify/inotify_user.c | 109 ++++++++++++++++++++++++------------- fs/notify/notification.c | 19 +++++-- include/linux/fsnotify_backend.h | 2 +- 7 files changed, 91 insertions(+), 59 deletions(-)