NFSv4.1 support for NFS4_RESULT_PRESERVER_UNLINKED
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 2 Feb 2022 22:55:02 +0000 (17:55 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Feb 2022 23:50:12 +0000 (18:50 -0500)
commit43245eca6e670ebf65908b549641c1460a9cc944
treef9509196287d7cf12f5deea1426fdec3c118d5ad
parent46442b850e5b3d846c8c82d251e47990dbd6457d
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>
fs/nfs/dir.c
fs/nfs/nfs4proc.c
include/linux/nfs_fs.h
include/uapi/linux/nfs4.h