]> 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)
commit7b70593fd1f64db61fa581f870415661bfac59d6
tree88e16a5b9b93088c2378fae4f5d0b3c47d94cf82
parentb5e74e9f9adf3c162dfdd01e771426de3dc2900a
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: fcfc2c4f0b9c ("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