diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2024-02-16 04:24:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-21 15:54:16 +0300 |
commit | 9444ce5cd48802188b73315dfde9e341fc3f75a2 (patch) | |
tree | 83e01724e07db35f8027fdca0a2ea68fe8175a33 /arch/arm/mach-imx/mach-pcm037.c | |
parent | a1a153fc73cc9184bcdfcd3a9f619705e35e53b7 (diff) | |
download | linux-9444ce5cd48802188b73315dfde9e341fc3f75a2.tar.xz |
nfsd: Fix a regression in nfsd_setattr()
[ Upstream commit 6412e44c40aaf8f1d7320b2099c5bdd6cb9126ac ]
Commit bb4d53d66e4b ("NFSD: use (un)lock_inode instead of
fh_(un)lock for file operations") broke the NFSv3 pre/post op
attributes behaviour when doing a SETATTR rpc call by stripping out
the calls to fh_fill_pre_attrs() and fh_fill_post_attrs().
Fixes: bb4d53d66e4b ("NFSD: use (un)lock_inode instead of fh_(un)lock for file operations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neilb@suse.de>
Message-ID: <20240216012451.22725-1-trondmy@kernel.org>
[ cel: adjusted to apply to v5.10.y ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-pcm037.c')
0 files changed, 0 insertions, 0 deletions