kill ->dir_notify()
Remove the hopelessly misguided ->dir_notify(). The only instance (cifs)
has been broken by design from the very beginning; the objects it creates
are never destroyed, keep references to struct file they can outlive, nothing
that could possibly evict them exists on close(2) path *and* no locking
whatsoever is done to prevent races with close(), should the previous, er,
deficiencies someday be dealt with.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- Documentation/filesystems/Locking 0 additions, 2 deletionsDocumentation/filesystems/Locking
- Documentation/filesystems/vfs.txt 0 additions, 3 deletionsDocumentation/filesystems/vfs.txt
- fs/bad_inode.c 0 additions, 6 deletionsfs/bad_inode.c
- fs/cifs/Makefile 1 addition, 1 deletionfs/cifs/Makefile
- fs/cifs/cifsfs.c 0 additions, 7 deletionsfs/cifs/cifsfs.c
- fs/cifs/cifsfs.h 0 additions, 1 deletionfs/cifs/cifsfs.h
- fs/cifs/fcntl.c 0 additions, 118 deletionsfs/cifs/fcntl.c
- fs/dnotify.c 0 additions, 3 deletionsfs/dnotify.c
- include/linux/fs.h 0 additions, 1 deletioninclude/linux/fs.h
Loading
Please register or sign in to comment