projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return
[firefly-linux-kernel-4.4.55.git]
/
fs
/
nfs
/
delegation.h
diff --git
a/fs/nfs/delegation.h
b/fs/nfs/delegation.h
index 9a79c7a99d6d6dd64b03f58481dc8d0fb4b32818..e02b090ab9da86f6c5c3d7c8217b07bd72c282cc 100644
(file)
--- a/
fs/nfs/delegation.h
+++ b/
fs/nfs/delegation.h
@@
-31,6
+31,7
@@
enum {
NFS_DELEGATION_RETURN_IF_CLOSED,
NFS_DELEGATION_REFERENCED,
NFS_DELEGATION_RETURNING,
+ NFS_DELEGATION_REVOKED,
};
int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res);