]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: Drop osync_buffers_list()
authorJan Kara <jack@suse.cz>
Thu, 26 Mar 2026 09:54:22 +0000 (10:54 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 26 Mar 2026 14:03:30 +0000 (15:03 +0100)
commitcae6b7a03c7ecb71729e3c6c0755310f734e1e44
tree9c5833691cc26d2e377221c103d4a9a52d65a828
parentd15c987d1226411345269c20e69b9eb2e39e866a
fs: Drop osync_buffers_list()

The function only waits for already locked buffers in the list of
metadata bhs. fsync_buffers_list() has just waited for all outstanding
IO on buffers so this isn't adding anything useful. Comment in front of
fsync_buffers_list() mentions concerns about buffers being moved out
from tmp list back to mappings i_private_list but these days
mark_buffer_dirty_inode() doesn't touch inodes with b_assoc_map set so
that cannot happen. Just delete the stale code.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260326095354.16340-70-jack@suse.cz
Tested-by: syzbot@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/buffer.c