GFS2: Add UUID to GFS2 sb
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 22 Sep 2008 06:29:31 +0000 (07:29 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 22 Sep 2008 06:29:31 +0000 (07:29 +0100)
commit6d80c39f9155e289fe8037a8b6352931ff916ceb
tree796deb75d25c7e7afc78092ee6b0f3a884fece87
parent719ee344675c2efed9115934f19aa66a526b6e5b
GFS2: Add UUID to GFS2 sb

This patch adds a UUID to the GFS2 sb structure. This field is not
actually referenced from kernel space at all, but is added for
completeness and due to the userland tools which get their on-disk
structure information from the gfs2_ondisk.h header file.

Since we have to be backwards compatible, we will assume that any GFS2
sb for which the UUID is all 0 does not have a UUID as such.

We should then be (after some userland changes) able to support the -U
mount option. This addresses Fedora bugzilla #242689

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
include/linux/gfs2_ondisk.h