Trond Myklebust 37a87b0518 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 v6.1.y ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-29 17:30:53 +02:00
..
2024-03-06 14:45:15 +00:00
2021-10-02 15:51:10 -04:00
2022-09-26 14:02:47 -04:00
2024-03-06 14:45:15 +00:00
2022-10-06 17:13:18 -07:00
2024-08-29 17:30:53 +02:00
2024-08-29 17:30:53 +02:00
2024-03-06 14:45:17 +00:00
2022-09-26 14:02:47 -04:00
2024-08-19 06:00:04 +02:00
2024-08-29 17:30:53 +02:00
2024-03-06 14:45:15 +00:00