]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: publish UUID in struct super_block
authorAmir Goldstein <amir73il@gmail.com>
Fri, 28 Apr 2017 15:10:53 +0000 (08:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 28 Apr 2017 15:10:53 +0000 (08:10 -0700)
commit79dfa2145d4d79650d7c63faf9722f354ac2fcab
tree7d14d367b051973f7415c780e45611895cc43593
parentda2b30d9dae60ce955cdc7f7a5ef009a42c54896
xfs: publish UUID in struct super_block

Copy the uuid of the filesystem to struct super_block s_uuid field,
as several other filesystems already do.  Copy regardless of the nouuid
mount option, because other filesystems also do not guaranty uniqueness
of the s_uuid field in super_block struct.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_mount.c