diff options
| author | Andreas Gruenbacher <[email protected]> | 2025-04-12 16:39:12 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-04-18 03:10:08 +0000 |
| commit | 9e888998ea4d22257b07ce911576509486fa0667 (patch) | |
| tree | 713491b89565e6534dc7ed1a0e0136da1dbafc40 /rust/helpers/platform.c | |
| parent | docs: ABI: replace [email protected] with new Meta address (diff) | |
| download | kernel-9e888998ea4d22257b07ce911576509486fa0667.tar.gz kernel-9e888998ea4d22257b07ce911576509486fa0667.zip | |
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/[email protected]
Fixes: aaa2cacf8184 ("writeback: add lockdep annotation to inode_to_wb()")
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Reviewed-by: Andreas Gruenbacher <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
