summaryrefslogtreecommitdiffstats
path: root/fs/nfs/unlink.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-03-17 12:06:55 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-03-17 20:14:16 +0100
commit0e862a405185b28e775eeeae6b04bfa39724b1ad (patch)
tree90f7f61544cb5265c95546139bf32b5383df0dd5 /fs/nfs/unlink.c
parentnfs: abstract out code needed to complete a sillyrename (diff)
downloadlinux-0e862a405185b28e775eeeae6b04bfa39724b1ad.tar.xz
linux-0e862a405185b28e775eeeae6b04bfa39724b1ad.zip
nfs: make nfs_async_rename non-static
...and move the prototype for nfs_sillyrename to internal.h. Signed-off-by: Jeff Layton <jlayton@redhat.com> Tested-by: Anna Schumaker <Anna.Schumaker@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r--fs/nfs/unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c
index 3e6798c9ba1f..818ded7b7b74 100644
--- a/fs/nfs/unlink.c
+++ b/fs/nfs/unlink.c
@@ -399,7 +399,7 @@ static const struct rpc_call_ops nfs_rename_ops = {
*
* It's expected that valid references to the dentries and inodes are held
*/
-static struct rpc_task *
+struct rpc_task *
nfs_async_rename(struct inode *old_dir, struct inode *new_dir,
struct dentry *old_dentry, struct dentry *new_dentry,
void (*complete)(struct rpc_task *, struct nfs_renamedata *))