diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:44 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:45 -0400 |
commit | 57ec14c55dee2733330327499d16e40f8c23219e (patch) | |
tree | f375d5c2c16266a55aa1d0c9a8a9e865465f1d12 /fs/nfs/unlink.c | |
parent | 011e2a7fd5e9e0c2fdba6b9466d53fc437f8bfaf (diff) | |
download | kernel_goldelico_gta04-57ec14c55dee2733330327499d16e40f8c23219e.zip kernel_goldelico_gta04-57ec14c55dee2733330327499d16e40f8c23219e.tar.gz kernel_goldelico_gta04-57ec14c55dee2733330327499d16e40f8c23219e.tar.bz2 |
NFS: Create a return_delegation rpc op
Delegations are a v4 feature, so push return_delegation out of the
generic client by creating a new rpc_op and renaming the old function to
be in the nfs v4 "namespace"
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r-- | fs/nfs/unlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 3210a03..13cea63 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c @@ -501,7 +501,7 @@ nfs_sillyrename(struct inode *dir, struct dentry *dentry) (unsigned long long)NFS_FILEID(dentry->d_inode)); /* Return delegation in anticipation of the rename */ - nfs_inode_return_delegation(dentry->d_inode); + NFS_PROTO(dentry->d_inode)->return_delegation(dentry->d_inode); sdentry = NULL; do { |