commit | 27226104e60964f21717e0f452cecd45c85a64c6 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Thu Dec 03 15:58:56 2009 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Dec 03 15:58:56 2009 -0500 |
tree | fc0bf5aea3d316034a9d51ce00a135e9ddbce5f2 | |
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>