Searched hist:"27226104 e60964f21717e0f452cecd45c85a64c6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | dir.c | diff 27226104e60964f21717e0f452cecd45c85a64c6 Thu Dec 03 14:58:56 CST 2009 Miklos Szeredi <mszeredi@suse.cz> 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>
|