]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfs: Remove calls to folio_set_error
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 30 May 2024 20:21:01 +0000 (21:21 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 31 May 2024 10:31:41 +0000 (12:31 +0200)
commit8f3ab6e4bebe789f23690cf57fb1a648c4422b9d
tree4789710384ed481b1aa7882201c913e83985c3e1
parentd15b00b1e588ea88a747bd70f6e360870088f5d2
nfs: Remove calls to folio_set_error

Common code doesn't test the error flag, so we don't need to set it in
nfs.  We can use folio_end_read() to combine the setting (or not)
of the uptodate flag and clearing the lock flag.

Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <anna@kernel.org>
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240530202110.2653630-10-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/nfs/read.c
fs/nfs/symlink.c
fs/nfs/write.c