diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-04-07 13:59:04 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-04-25 14:18:14 -0400 |
commit | aded8d7b54f250af6deb72fde475291cfba513d1 (patch) | |
tree | b1836af68dccf3bc8a4c7163c5503388b260666d /drivers/ata/ahci.h | |
parent | 22876f540bdf19af9e4fca893ce02ba7ee65ebcc (diff) | |
download | linux-aded8d7b54f250af6deb72fde475291cfba513d1.tar.bz2 |
NFS: Don't inadvertently clear writeback errors
vfs_fsync() has the side effect of clearing unreported writeback errors,
so we need to make sure that we do not abuse it in situations where
applications might not normally expect us to report those errors.
The solution is to replace calls to vfs_fsync() with calls to nfs_wb_all().
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'drivers/ata/ahci.h')
0 files changed, 0 insertions, 0 deletions