diff options
author | John McCutchan <ttb@tentacle.dhs.org> | 2005-08-08 19:52:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-08 20:53:47 +0200 |
commit | 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a (patch) | |
tree | ffd77cfbf621a990052c1277d8a18451b9363dda /fs/bio.c | |
parent | [PATCH] dvb: lgdt330x frontend: some bug fixes & add lgdt3303 support (diff) | |
download | linux-7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a.tar.xz linux-7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a.zip |
[PATCH] fsnotify_name/inoderemove
The patch below unhooks fsnotify from vfs_unlink & vfs_rmdir. It
introduces two new fsnotify calls, that are hooked in at the dcache
level. This not only more closely matches how the VFS layer works, it
also avoids the problem with locking and inode lifetimes.
The two functions are
- fsnotify_nameremove -- called when a directory entry is going away.
It notifies the PARENT of the deletion. This is called from
d_delete().
- inoderemove -- called when the files inode itself is going away. It
notifies the inode that is being deleted. This is called from
dentry_iput().
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions