linux/fs/nfs/write.c
Trond Myklebust 2d336687b6 NFS: Ensure we set NFS_CONTEXT_RESEND_WRITES when requeuing writes
[ Upstream commit c70701131f ]

If a write attempt fails, and the write is queued up for resending to
the server, as opposed to being dropped, then we need to set the
appropriate flag so that nfs_file_fsync() does the right thing.

Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-07-03 23:02:33 -04:00

1951 lines
51 KiB