]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04f8631a9088c87ac4f142bf24ce8a1001199528
treef9509196287d7cf12f5deea1426fdec3c118d5ad
parent2f9eba10bda59f8bad2b5eb55559b7f49027deaa
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