diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2009-12-03 15:58:56 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-03 15:58:56 -0500 |
commit | 27226104e60964f21717e0f452cecd45c85a64c6 (patch) | |
tree | fc0bf5aea3d316034a9d51ce00a135e9ddbce5f2 /kernel | |
parent | 28f79a1a695e7a5b00af3b6713b449e08581ffbb (diff) |
nfs: dont unhash target if renaming a directory
Move unhashing the target to after the check for existence and being a
non-directory.
If renaming a directory then the VFS already unhashes the target if it
is not busy. If it's busy then acquiring more references during the
rename makes no difference.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions