summaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-07-03 07:05:00 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-07-13 00:22:58 +0200
commit15bb3afe900dfe1714ba7c53b2582517627da995 (patch)
tree89fff5430a843e8af7a5069ddca7898fa1531729 /fs/nfs/delegation.h
parentpnfs/filelayout: retry ds commit if nfs_commitdata_alloc fails (diff)
downloadlinux-15bb3afe900dfe1714ba7c53b2582517627da995.tar.xz
linux-15bb3afe900dfe1714ba7c53b2582517627da995.zip
nfs4: add nfs4_check_delegation
Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/delegation.h')
-rw-r--r--fs/nfs/delegation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h
index 9a79c7a99d6d..5c1cce39297f 100644
--- a/fs/nfs/delegation.h
+++ b/fs/nfs/delegation.h
@@ -59,6 +59,7 @@ bool nfs4_copy_delegation_stateid(nfs4_stateid *dst, struct inode *inode, fmode_
void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
int nfs4_have_delegation(struct inode *inode, fmode_t flags);
+int nfs4_check_delegation(struct inode *inode, fmode_t flags);
#endif