]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Revert "fsnotify: store struct file not struct path"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Aug 2010 21:23:04 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Aug 2010 21:23:04 +0000 (14:23 -0700)
commit2069601b3f0ea38170d4b509b89f3ca0a373bdc1
tree647002d4c3814bd3d95d16ef7edef1757de8554f
parentad41a1e0cab07c5125456e8d38e5b1ab148d04aa
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>
fs/file_table.c
fs/notify/fanotify/fanotify.c
fs/notify/fanotify/fanotify_user.c
fs/notify/fsnotify.c
fs/notify/inotify/inotify_fsnotify.c
fs/notify/notification.c
include/linux/fsnotify.h
include/linux/fsnotify_backend.h
kernel/audit_watch.c