ext4: print file system UUID on mount, remount and unmount
authorLukas Czerner <lczerner@redhat.com>
Tue, 8 Nov 2022 14:50:42 +0000 (15:50 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 9 Dec 2022 02:49:24 +0000 (21:49 -0500)
commitbb0fbc782ee9fa8c970c8e8e17c1a52ff9419182
treecd89add178be6ac170621107d41aaed11f33f26c
parentfae381a3d79bb94aa2eb752170d47458d778b797
ext4: print file system UUID on mount, remount and unmount

The device names are not necessarily consistent across reboots which can
make it more difficult to identify the right file system when tracking
down issues using system logs.

Print file system UUID string on every mount, remount and unmount to
make this task easier.

This is similar to the functionality recently propsed for XFS.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Cc: Lukas Herbolt <lukas@herbolt.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20221108145042.85770-1-lczerner@redhat.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c