summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhong Tran <tranmanphong@gmail.com>2019-12-13 22:33:07 +0700
committerTheodore Ts'o <tytso@mit.edu>2019-12-15 21:41:04 -0500
commit69000d82eee1b41d88afc75861153b7e514bb777 (patch)
tree90f4ee752cedf1a70ee1eafcf96791e83703859c /include
parent9803387c55f7d2ce69aa64340c5fdc6b3027dbc8 (diff)
downloadlinux-69000d82eee1b41d88afc75861153b7e514bb777.tar.bz2
ext4: use RCU API in debug_print_tree
struct ext4_sb_info.system_blks was marked __rcu. But access the pointer without using RCU lock and dereference. Sparse warning with __rcu notation: block_validity.c:139:29: warning: incorrect type in argument 1 (different address spaces) block_validity.c:139:29: expected struct rb_root const * block_validity.c:139:29: got struct rb_root [noderef] <asn:4> * Link: https://lore.kernel.org/r/20191213153306.30744-1-tranmanphong@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Phong Tran <tranmanphong@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions