]> git.baikalelectronics.ru Git - kernel.git/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)
commite0d812fc993947dd3a846ec33ee65f46308f77db
tree88e16a5b9b93088c2378fae4f5d0b3c47d94cf82
parenta17e1338157df3c306f4dbf87220853f1a671c60
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: 08fa707c28fe ("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