diff options
author | Baokun Li <libaokun1@huawei.com> | 2024-03-19 14:33:25 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-05-03 06:48:31 +0300 |
commit | e19089dff547c9e1f09712acc3536d7b0aa9ce3d (patch) | |
tree | 69d998dfd3aa1279106166d80a3365531c7e734b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 261341a932d9244cbcd372a3659428c8723e5a49 (diff) | |
download | linux-e19089dff547c9e1f09712acc3536d7b0aa9ce3d.tar.xz |
ext4: clean up s_mb_rb_lock to fix build warnings with C=1
Running sparse (make C=1) on mballoc.c we get the following warning:
fs/ext4/mballoc.c:3194:13: warning: context imbalance in
'ext4_mb_seq_structs_summary_start' - wrong count at exit
This is because __acquires(&EXT4_SB(sb)->s_mb_rb_lock) was called in
ext4_mb_seq_structs_summary_start(), but s_mb_rb_lock was removed in commit
83e80a6e3543 ("ext4: use buckets for cr 1 block scan instead of rbtree"),
so remove the __acquires to silence the warning.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240319113325.3110393-10-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions