Re: [PATCH 17/26] netfs: Fix writethrough-mode error handling

2024-04-17 Thread David Howells
Jeff Layton wrote: > Should this be merged independently? It looks like a bug that's present > now. Yes. I've just posted that as a separate fix for Christian to pick up. I still need to keep it in this set, though, until it is upstream. David

Re: [PATCH 17/26] netfs: Fix writethrough-mode error handling

2024-04-15 Thread Jeff Layton
On Thu, 2024-03-28 at 16:34 +, David Howells wrote: > 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. > > Signed-off-by: David Howells > cc: Jeff Layton > cc: ne...@lists.linux.dev >

[PATCH 17/26] netfs: Fix writethrough-mode error handling

2024-03-28 Thread David Howells
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. Signed-off-by: David Howells cc: Jeff Layton cc: ne...@lists.linux.dev cc: linux-fsde...@vger.kernel.org --- fs/netfs/buffered_write.c | 10 +