diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-10-17 00:10:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-17 08:18:45 -0700 |
commit | e956edd0523b6b48ed367c63b0c82d8f4c447a58 (patch) | |
tree | a45b03edfa376a769721b69211a9882fcd6f8060 /block/blktrace.c | |
parent | d2a85164aaa8d514ef5efbf5d05746e85dd13ddd (diff) |
[PATCH] fuse: fix dereferencing dentry parent
There's no locking for ->d_revalidate, so fuse_dentry_revalidate() should use
dget_parent() instead of simply dereferencing ->d_parent.
Due to topology changes in the directory tree the parent could become negative
or be destroyed while being used. There hasn't been any reports about this
yet.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'block/blktrace.c')
0 files changed, 0 insertions, 0 deletions