]> git.itanic.dy.fi Git - linux-stable/commit
NFS: Do not report writeback errors in nfs_getattr()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 15 Feb 2022 23:05:18 +0000 (18:05 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 16 Feb 2022 20:15:22 +0000 (15:15 -0500)
commitd19e0183a88306acda07f4a01fedeeffe2a2a06b
tree88e16a5b9b93088c2378fae4f5d0b3c47d94cf82
parente0caaf75d443e02e55e146fd75fe2efc8aed5540
NFS: Do not report writeback errors in nfs_getattr()

The result of the writeback, whether it is an ENOSPC or an EIO, or
anything else, does not inhibit the NFS client from reporting the
correct file timestamps.

Fixes: 79566ef018f5 ("NFS: Getattr doesn't require data sync semantics")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/inode.c