Re: [PATCH v2] fs/nfsd: fix update of inode attrs in CB_GETATTR

From: Chuck Lever
Date: Mon Aug 26 2024 - 12:21:04 EST


On Mon, 26 Aug 2024 10:32:34 -0400, Jeff Layton wrote:
> Currently, we copy the mtime and ctime to the in-core inode and then
> mark the inode dirty. This is fine for certain types of filesystems, but
> not all. Some require a real setattr to properly change these values
> (e.g. ceph or reexported NFS).
>
> Fix this code to call notify_change() instead, which is the proper way
> to effect a setattr. There is one problem though:
>
> [...]

Applied to nfsd-fixes for v6.11-rc, thanks!

[1/1] fs/nfsd: fix update of inode attrs in CB_GETATTR
commit: 2378b0fe77ac627a6ed0bddaef3d1455d98cb216

--
Chuck Lever