summaryrefslogtreecommitdiff
path: root/fs/lockd/svcxdr.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-04-17 11:47:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 17:35:16 +0300
commitf1573c33601d7ad22ced5f6332aa4056dd1165a4 (patch)
tree7b825ba1968b939c3f81acd9aa14bd62db5ba266 /fs/lockd/svcxdr.h
parent95a3032840fedef49a1a406699775304b594dec3 (diff)
downloadlinux-f1573c33601d7ad22ced5f6332aa4056dd1165a4.tar.xz
netfs: Fix writethrough-mode error handling
[ Upstream commit 619606a7b8d5e54b71578ecc988d3f8e1896bbc6 ] Fix the error return in netfs_perform_write() acting in writethrough-mode to return any cached error in the case that netfs_end_writethrough() returns 0. This can affect the use of O_SYNC/O_DSYNC/RWF_SYNC/RWF_DSYNC in 9p and afs. Fixes: 41d8e7673a77 ("netfs: Implement a write-through caching option") Signed-off-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/r/6736.1713343639@warthog.procyon.org.uk Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: Eric Van Hensbergen <ericvh@kernel.org> cc: Latchesar Ionkov <lucho@ionkov.net> cc: Dominique Martinet <asmadeus@codewreck.org> cc: Christian Schoenebeck <linux_oss@crudebyte.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org cc: v9fs@lists.linux.dev cc: linux-afs@lists.infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/lockd/svcxdr.h')
0 files changed, 0 insertions, 0 deletions