diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2022-02-02 23:55:02 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-26 00:50:12 +0100 |
commit | 43245eca6e670ebf65908b549641c1460a9cc944 (patch) | |
tree | f9509196287d7cf12f5deea1426fdec3c118d5ad /include/uapi | |
parent | SUNRPC/xprtrdma: Convert GFP_NOFS to GFP_KERNEL (diff) | |
download | linux-43245eca6e670ebf65908b549641c1460a9cc944.tar.xz linux-43245eca6e670ebf65908b549641c1460a9cc944.zip |
NFSv4.1 support for NFS4_RESULT_PRESERVER_UNLINKED
In 4.1+, the server is allowed to set a flag
NFS4_RESULT_PRESERVE_UNLINKED in reply to the OPEN, that tells
the client that it does not need to do a silly rename of an
opened file when it's being removed.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nfs4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h index 800bb0ffa6e6..1d2043708bf1 100644 --- a/include/uapi/linux/nfs4.h +++ b/include/uapi/linux/nfs4.h @@ -45,6 +45,7 @@ #define NFS4_OPEN_RESULT_CONFIRM 0x0002 #define NFS4_OPEN_RESULT_LOCKTYPE_POSIX 0x0004 +#define NFS4_OPEN_RESULT_PRESERVE_UNLINKED 0x0008 #define NFS4_OPEN_RESULT_MAY_NOTIFY_LOCK 0x0020 #define NFS4_SHARE_ACCESS_MASK 0x000F |