diff options
author | Dave Chinner <[email protected]> | 2021-06-18 08:14:20 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-06-18 08:14:20 -0700 |
commit | 90e2c1c20ac672756a2835b5a92a606dd48a4aa3 (patch) | |
tree | dc98db5743d9e91ba0f60071202eb634b5cecf6d /scripts/gdb/linux/timerlist.py | |
parent | d1015e2ebda64af30c9b30c7e049de1b203180cf (diff) |
xfs: perag may be null in xfs_imap()
Dan Carpenter's static checker reported:
The patch 7b13c5155182: "xfs: use perag for ialloc btree cursors"
from Jun 2, 2021, leads to the following Smatch complaint:
fs/xfs/libxfs/xfs_ialloc.c:2403 xfs_imap()
error: we previously assumed 'pag' could be null (see line 2294)
And it's right. Fix it.
Fixes: 7b13c5155182 ("xfs: use perag for ialloc btree cursors")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Allison Henderson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions