mbox series

[v2,0/2] Fix NFSv3 SETATTR behaviours

Message ID 20240216012451.22725-1-trondmy@kernel.org (mailing list archive)
Headers show
Series Fix NFSv3 SETATTR behaviours | expand

Message

Trond Myklebust Feb. 16, 2024, 1:24 a.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

Fix recent regressions in nfsd_setattr(), and fix the "guarded SETATTR"
behaviour for NFSv3.

Trond Myklebust (2):
  nfsd: Fix a regression in nfsd_setattr()
  nfsd: Fix NFSv3 atomicity bugs in nfsd_setattr()

 fs/nfsd/nfs3proc.c  |  6 ++++--
 fs/nfsd/nfs3xdr.c   |  5 +----
 fs/nfsd/nfs4proc.c  |  7 +++++--
 fs/nfsd/nfs4state.c |  2 +-
 fs/nfsd/nfsproc.c   |  6 +++---
 fs/nfsd/vfs.c       | 29 ++++++++++++++++++++---------
 fs/nfsd/vfs.h       |  2 +-
 fs/nfsd/xdr3.h      |  2 +-
 8 files changed, 36 insertions(+), 23 deletions(-)

Comments

Chuck Lever Feb. 20, 2024, 3:28 p.m. UTC | #1
On Thu, Feb 15, 2024 at 08:24:49PM -0500, trondmy@kernel.org wrote:
> From: Trond Myklebust <trond.myklebust@hammerspace.com>
> 
> Fix recent regressions in nfsd_setattr(), and fix the "guarded SETATTR"
> behaviour for NFSv3.
> 
> Trond Myklebust (2):
>   nfsd: Fix a regression in nfsd_setattr()
>   nfsd: Fix NFSv3 atomicity bugs in nfsd_setattr()
> 
>  fs/nfsd/nfs3proc.c  |  6 ++++--
>  fs/nfsd/nfs3xdr.c   |  5 +----
>  fs/nfsd/nfs4proc.c  |  7 +++++--
>  fs/nfsd/nfs4state.c |  2 +-
>  fs/nfsd/nfsproc.c   |  6 +++---
>  fs/nfsd/vfs.c       | 29 ++++++++++++++++++++---------
>  fs/nfsd/vfs.h       |  2 +-
>  fs/nfsd/xdr3.h      |  2 +-
>  8 files changed, 36 insertions(+), 23 deletions(-)
> 
> -- 
> 2.43.1
> 

Both applied to nfsd-next. Thanks gents!