summaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
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
commit24e93025ee434a58d35e5abb283c5bcc9a13e477 (patch)
treef187100fdb63afb537e209c62e9c6bb5a95fc46b /fs/fcntl.c
parentnfs: dont unhash target if renaming a directory (diff)
downloadlinux-24e93025ee434a58d35e5abb283c5bcc9a13e477.tar.xz
linux-24e93025ee434a58d35e5abb283c5bcc9a13e477.zip
nfs: clean up sillyrenaming in nfs_rename()
The d_instantiate(new_dentry, NULL) is superfluous, the dentry is already negative. Rehashing this dummy dentry isn't needed either, d_move() works fine on an unhashed target. The re-checking for busy after a failed nfs_sillyrename() is bogus too: new_dentry->d_count < 2 would be a bug here. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions