]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: allocate m_errortag early
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Jan 2026 05:19:17 +0000 (06:19 +0100)
committerCarlos Maiolino <cem@kernel.org>
Fri, 30 Jan 2026 09:41:42 +0000 (10:41 +0100)
commit394969e2f9d11427ce493e171949958122dc11ee
treee131a7463eb55c0e896446bd82b88c8f13e365f9
parent9a228d141536a91bf9e48a21b37ebb0f8eea8273
xfs: allocate m_errortag early

Ensure the mount structure always has a valid m_errortag for debug
builds.  This removes the NULL checking from the runtime code, and
prepares for allowing to set errortags from mount.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_error.c
fs/xfs/xfs_super.c