mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
xfs: fix scrub trace with null pointer in quotacheck
commit 5d94b19f066480addfcdcb5efde66152ad5a7c0e upstream.
The quotacheck doesn't initialize sc->ip.
Cc: stable@vger.kernel.org # v6.8
Fixes: 21d7500929
("xfs: improve dquot iteration for scrub")
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
39a93e1c9d
commit
579c5488fe
|
@ -467,7 +467,7 @@ DECLARE_EVENT_CLASS(xchk_dqiter_class,
|
|||
__field(xfs_exntst_t, state)
|
||||
),
|
||||
TP_fast_assign(
|
||||
__entry->dev = cursor->sc->ip->i_mount->m_super->s_dev;
|
||||
__entry->dev = cursor->sc->mp->m_super->s_dev;
|
||||
__entry->dqtype = cursor->dqtype;
|
||||
__entry->ino = cursor->quota_ip->i_ino;
|
||||
__entry->cur_id = cursor->id;
|
||||
|
|
Loading…
Reference in New Issue
Block a user