summaryrefslogtreecommitdiff
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2025-04-12 19:39:12 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-04-18 06:10:08 +0300
commit9e888998ea4d22257b07ce911576509486fa0667 (patch)
tree713491b89565e6534dc7ed1a0e0136da1dbafc40 /fs/ext4/fast_commit.c
parentfd0ad5e9d158436b4a9b34c60582488585e1d90d (diff)
downloadlinux-9e888998ea4d22257b07ce911576509486fa0667.tar.xz
writeback: fix false warning in inode_to_wb()
inode_to_wb() is used also for filesystems that don't support cgroup writeback. For these filesystems inode->i_wb is stable during the lifetime of the inode (it points to bdi->wb) and there's no need to hold locks protecting the inode->i_wb dereference. Improve the warning in inode_to_wb() to not trigger for these filesystems. Link: https://lkml.kernel.org/r/20250412163914.3773459-3-agruenba@redhat.com Fixes: aaa2cacf8184 ("writeback: add lockdep annotation to inode_to_wb()") Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions