]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
orangefs: Simplify bvec setup in orangefs_writepages_work()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 5 Mar 2025 20:47:32 +0000 (20:47 +0000)
committerChristian Brauner <brauner@kernel.org>
Thu, 6 Mar 2025 08:26:07 +0000 (09:26 +0100)
commit377afd97cf1801cef404fecf39167d4c067dd861
tree46668c9e78494da427c47ce9e290e833ecb4bd80
parentf9ec21357f52254f300ab01199da76464103e821
orangefs: Simplify bvec setup in orangefs_writepages_work()

This produces a bvec which is slightly different as the last page is added
in its entirety rather than only the portion which is being written back.
However we don't use this information anywhere; the iovec has its own
length parameter.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250305204734.1475264-9-willy@infradead.org
Tested-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/orangefs/inode.c