]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: actually set m_fsname
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:00:49 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:35 +0000 (11:37 -0700)
commite9add503ea48dfaf68e3c5731aba28d74c46366f
treea0770edbafdbb835b7edaaeb5c8cb4648da80717
parentdf4bd2d27189a98711fd35965c18bee25a25a9ea
libxfs: actually set m_fsname

Set the name of the filesystem before we actually start using it for
creating xfiles.  This leads to nice(r) output from /proc/maps such as:

7fcd0a44f000-7fcd0a450000 rw-s 021f6000 00:01 3612684 /memfd:xfs_repair (/dev/sda): AG 0 rmap records (deleted)

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/init.c