summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2009-12-03 21:58:56 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-03 21:58:56 +0100
commit27226104e60964f21717e0f452cecd45c85a64c6 (patch)
treefc0bf5aea3d316034a9d51ce00a135e9ddbce5f2 /crypto
parentnfs: fix comments in nfs_rename() (diff)
downloadlinux-27226104e60964f21717e0f452cecd45c85a64c6.tar.xz
linux-27226104e60964f21717e0f452cecd45c85a64c6.zip
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 'crypto')
0 files changed, 0 insertions, 0 deletions