diff options
author | Stephen Warren <[email protected]> | 2012-11-08 16:12:25 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2012-11-23 14:28:53 +0100 |
commit | 1ad7e89940d5ac411928189e1a4a01901dbf590f (patch) | |
tree | 64bfe2bceb4d157320465d529869783443e031bf /lib/mpi/mpi-internal.h | |
parent | d48c152a41c8cd6de832397b4ea6f0429ad86318 (diff) |
block: store partition_meta_info.uuid as a string
This will allow other types of UUID to be stored here, aside from true
UUIDs. This also simplifies code that uses this field, since it's usually
constructed from a, used as a, or compared to other, strings.
Note: A simplistic approach here would be to set uuid_str[36]=0 whenever a
/PARTNROFF option was found to be present. However, this modifies the
input string, and causes subsequent calls to devt_from_partuuid() not to
see the /PARTNROFF option, which causes different results. In order to
avoid misleading future maintainers, this parameter is marked const.
Signed-off-by: Stephen Warren <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Will Drewry <[email protected]>
Cc: Kay Sievers <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions