diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-03-17 09:09:12 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-03-20 08:59:49 -0700 |
commit | d86142dd7c4e10e50bdb3679b405d748214b2c28 (patch) | |
tree | bd9656704df9fb494db021d8ac26f0a70712a535 /fs/xfs/xfs_rmap_item.c | |
parent | 70447e0ad9781f84e60e0990888bd8c84987f44e (diff) | |
download | linux-d86142dd7c4e10e50bdb3679b405d748214b2c28.tar.gz linux-d86142dd7c4e10e50bdb3679b405d748214b2c28.tar.bz2 linux-d86142dd7c4e10e50bdb3679b405d748214b2c28.zip |
xfs: log items should have a xlog pointer, not a mount
Log items belong to the log, not the xfs_mount. Convert the mount
pointer in the log item to a xlog pointer in preparation for
upcoming log centric changes to the log items.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_rmap_item.c')
-rw-r--r-- | fs/xfs/xfs_rmap_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_rmap_item.c b/fs/xfs/xfs_rmap_item.c index c3966b4c58ef..a22b2d19ef91 100644 --- a/fs/xfs/xfs_rmap_item.c +++ b/fs/xfs/xfs_rmap_item.c @@ -510,7 +510,7 @@ xfs_rui_item_recover( struct xfs_rud_log_item *rudp; struct xfs_trans *tp; struct xfs_btree_cur *rcur = NULL; - struct xfs_mount *mp = lip->li_mountp; + struct xfs_mount *mp = lip->li_log->l_mp; enum xfs_rmap_intent_type type; xfs_exntst_t state; int i; |