diff options
| author | Phong Tran <[email protected]> | 2019-12-13 15:33:07 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2019-12-16 02:41:04 +0000 |
| commit | 69000d82eee1b41d88afc75861153b7e514bb777 (patch) | |
| tree | 90f4ee752cedf1a70ee1eafcf96791e83703859c /net/unix/af_unix.c | |
| parent | ext4: validate the debug_want_extra_isize mount option at parse time (diff) | |
| download | kernel-69000d82eee1b41d88afc75861153b7e514bb777.tar.gz kernel-69000d82eee1b41d88afc75861153b7e514bb777.zip | |
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/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Phong Tran <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
