diff options
author | David Howells | 2007-05-10 22:22:20 -0700 |
---|---|---|
committer | Linus Torvalds | 2007-05-11 08:29:32 -0700 |
commit | 0f300ca9284caabdd2c07c7f91b90f1f530f614e (patch) | |
tree | 12c64af9cbaeafbe47e63872a750badb623a7e81 /block | |
parent | 9d577b6a31a53a19d3b0fe414d645a61ef201846 (diff) |
AFS: fix a couple of problems with unlinking AFS files
Fix a couple of problems with unlinking AFS files.
(1) The parent directory wasn't being updated properly between unlink() and
the following lookup().
It seems that, for some reason, invalidate_remote_inode() wasn't
discarding the directory contents correctly, so this patch calls
invalidate_inode_pages2() instead on non-regular files.
(2) afs_vnode_deleted_remotely() should handle vnodes that don't have a
source server recorded without oopsing.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions