summaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-07-03 13:05:00 +0800
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-07-12 18:22:58 -0400
commit15bb3afe900dfe1714ba7c53b2582517627da995 (patch)
tree89fff5430a843e8af7a5069ddca7898fa1531729 /fs/nfs/delegation.h
parent0b0bc6ea77ec8430626e8c2f6cbdfb767b168ac1 (diff)
downloadop-kernel-dev-15bb3afe900dfe1714ba7c53b2582517627da995.zip
op-kernel-dev-15bb3afe900dfe1714ba7c53b2582517627da995.tar.gz
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 9a79c7a..5c1cce3 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
OpenPOWER on IntegriCloud