diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:43 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:44 -0400 |
commit | 011e2a7fd5e9e0c2fdba6b9466d53fc437f8bfaf (patch) | |
tree | b88d11754a6ed0a4cea439dc43a39fb88a5b05a8 /fs/nfs/dir.c | |
parent | a5c58892b427a2752e3ec44b0aad4ce9221dc63b (diff) |
NFS: Create a have_delegation rpc_op
Delegations are a v4 feature, so push them out of the generic code.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index f430057ff3b3..4a3e23aea143 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -1144,7 +1144,7 @@ static int nfs_lookup_revalidate(struct dentry *dentry, struct nameidata *nd) | |||
1144 | goto out_bad; | 1144 | goto out_bad; |
1145 | } | 1145 | } |
1146 | 1146 | ||
1147 | if (nfs_have_delegation(inode, FMODE_READ)) | 1147 | if (NFS_PROTO(dir)->have_delegation(inode, FMODE_READ)) |
1148 | goto out_set_verifier; | 1148 | goto out_set_verifier; |
1149 | 1149 | ||
1150 | /* Force a full look up iff the parent directory has changed */ | 1150 | /* Force a full look up iff the parent directory has changed */ |