aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2021-04-02 17:51:24 +0000
committerAndreas Gruenbacher <[email protected]>2021-04-03 19:38:12 +0000
commitbea906ee1624aeb34ea2c5acca84728de4185726 (patch)
tree2e47f1b828f3f14b6a3eab4892ff0bcc9beebc75 /lib/dump_stack.c
parentgfs2: Turn gfs2_meta_indirect_buffer into gfs2_meta_buffer (diff)
downloadkernel-bea906ee1624aeb34ea2c5acca84728de4185726.tar.gz
kernel-bea906ee1624aeb34ea2c5acca84728de4185726.zip
gfs2: Silence possible null pointer dereference warning
In gfs2_rbm_find, rs is always NULL when minext is NULL, so gfs2_reservation_check_and_update will never be called on a NULL minext. This isn't innediately obvious though, so also check for a NULL minext for better code readability. Reported-by: kernel test robot <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions