Home
last modified time | relevance | path

Searched hist:"2197 e9b06c228b65a2cef98ef34d6bf42fa1af3d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dfile.cdiff 2197e9b06c228b65a2cef98ef34d6bf42fa1af3d Mon Jan 06 14:25:03 CST 2020 Trond Myklebust <trondmy@gmail.com> NFS: Fix up fsync() when the server rebooted

Don't clear the NFS_CONTEXT_RESEND_WRITES flag until after calling
nfs_commit_inode(). Otherwise, if nfs_commit_inode() returns an
error, we end up with dirty pages in the page cache, but no tag
to tell us that those pages need resending.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>