nfs: move nfs_sillyrename to unlink.c
authorJeff Layton <jlayton@redhat.com>
Fri, 17 Sep 2010 21:31:30 +0000 (17:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 17 Sep 2010 21:31:30 +0000 (17:31 -0400)
commit779c51795bfb35c2403c924b9de90ca9356bc693
tree6bdd2e6896425b58df4ec457c583a15af21cb0c4
parente8582a8b96f329083b4da29aa87bc43cc0d80dd1
nfs: move nfs_sillyrename to unlink.c

...since that's where most of the sillyrenaming code lives. A comment
block is added to the beginning as well to clarify how sillyrenaming
works. Also, make nfs_async_unlink static as nfs_sillyrename is the only
caller.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/unlink.c
include/linux/nfs_fs.h