]> err.no Git - linux-2.6/commit
[PATCH] reserve space for swap label
authorAndreas Dilger <adilger@shaw.ca>
Fri, 23 Jun 2006 09:03:14 +0000 (02:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:47 +0000 (07:42 -0700)
commite8f03d02080b25f53cd6bba8dc3a297803f18c01
tree64d2731203aa3e90273322620c3b964bba7abed9
parent6937a25cff818d32d0f9ff58a518c9ab96760aeb
[PATCH] reserve space for swap label

Reserve space in the swap disk header for a LABEL and UUID to be specified.
 This has been possible with util-linux-2.12b (via e2fsprogs 1.36
libblkid), and is used by at least FC3 and later.  The kernel doesn't
really care about this, but the space shouldn't accidentally be used by
something else either.

Also make the on-disk structures be fixed-size types, instead of "int",
though I don't know of any architecture in use where an "int" isn't the
same size as a "__u32" (all current kernel arches have it as "unsigned
int").

Signed-off-by: Andreas Dilger <adilger@shaw.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/swap.h