Commit [206960] Maximize Restore History

Revert "fsnotify: store struct file not struct path"

This reverts commit 3bcf3860a4ff9bbc522820b4b765e65e4deceb3e (and the
accompanying commit c1e5c954020e "vfs/fsnotify: fsnotify_close can delay
the final work in fput" that was a horribly ugly hack to make it work at
all).

The 'struct file' approach not only causes that disgusting hack, it
somehow breaks pulseaudio, probably due to some other subtlety with
f_count handling.

Fix up various conflicts due to later fsnotify work.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Linus Torvalds Linus Torvalds 2010-08-12

changed fs/notify/fanotify/fanotify.c
changed fs/notify/fanotify/fanotify_user.c
changed fs/notify/inotify/inotify_fsnotify.c
changed fs/notify/fsnotify.c
changed fs/notify/notification.c
changed fs/file_table.c
changed include/linux/fsnotify.h
changed include/linux/fsnotify_backend.h
changed kernel/audit_watch.c
fs/notify/fanotify/fanotify.c Diff Switch to side-by-side view
Loading...
fs/notify/fanotify/fanotify_user.c Diff Switch to side-by-side view
Loading...
fs/notify/inotify/inotify_fsnotify.c Diff Switch to side-by-side view
Loading...
fs/notify/fsnotify.c Diff Switch to side-by-side view
Loading...
fs/notify/notification.c Diff Switch to side-by-side view
Loading...
fs/file_table.c Diff Switch to side-by-side view
Loading...
include/linux/fsnotify.h Diff Switch to side-by-side view
Loading...
include/linux/fsnotify_backend.h Diff Switch to side-by-side view
Loading...
kernel/audit_watch.c Diff Switch to side-by-side view
Loading...