Dave Chinner 90e2c1c20a 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 <dan.carpenter@oracle.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
2021-06-18 08:14:20 -07:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:27:20 +01:00
2021-02-26 15:49:51 -07:00
2021-06-01 12:53:59 -07:00
2021-04-15 09:35:51 -07:00
2021-06-02 10:48:24 +10:00
2021-06-02 10:48:24 +10:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-04-15 09:35:51 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-06-02 10:48:24 +10:00
2020-12-16 16:07:34 -08:00
2021-06-02 10:48:24 +10:00
2021-01-24 14:43:46 +01:00
2020-12-16 16:07:34 -08:00