]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: fix comments in nfs_rename()
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 3 Dec 2009 20:58:56 +0000 (15:58 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 20:58:56 +0000 (15:58 -0500)
commit42304000816fb28d24baf2ad14d1e54d74968ae0
treee843f269eebb716a69a71dd51fec769c30d6efc9
parentd466b0769392017106bb876a9914aefac721d227
nfs: fix comments in nfs_rename()

Comments are wrong or out of date.  In particular d_drop() doesn't
free the inode it just unhashes the dentry.  And if target is a
directory then it is not checked for being busy.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c