diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-04-02 19:51:24 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-04-03 21:38:12 +0200 |
commit | bea906ee1624aeb34ea2c5acca84728de4185726 (patch) | |
tree | 2e47f1b828f3f14b6a3eab4892ff0bcc9beebc75 /fs/inode.c | |
parent | 6d8da302aedf9ff32c1579cbf91705a78538cb9e (diff) | |
download | linux-bea906ee1624aeb34ea2c5acca84728de4185726.tar.gz linux-bea906ee1624aeb34ea2c5acca84728de4185726.tar.bz2 linux-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 <lkp@intel.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions