diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-01-10 15:41:53 +0200 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2019-01-10 10:28:56 -0600 |
commit | 2e3bc6125154c691e987e2554f2c99ec10f83b73 (patch) | |
tree | 07862dad0ce7c0e82d10d672de41aca46eae5fed /fs/jfs/jfs_superblock.h | |
parent | 7ca5e8f089c2cbe79ee220b5acb4bc6cf4422818 (diff) | |
download | linux-2e3bc6125154c691e987e2554f2c99ec10f83b73.tar.gz |
fs/jfs: Switch to use new generic UUID API
There are new types and helpers that are supposed to be used in new code.
As a preparation to get rid of legacy types and API functions do
the conversion here.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_superblock.h')
-rw-r--r-- | fs/jfs/jfs_superblock.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/jfs/jfs_superblock.h b/fs/jfs/jfs_superblock.h index 302517421a8b..eb03de7fa925 100644 --- a/fs/jfs/jfs_superblock.h +++ b/fs/jfs/jfs_superblock.h @@ -18,6 +18,8 @@ #ifndef _H_JFS_SUPERBLOCK #define _H_JFS_SUPERBLOCK +#include <linux/uuid.h> + /* * make the magic number something a human could read */ @@ -98,9 +100,9 @@ struct jfs_superblock { __le64 s_xsize; /* 8: extendfs s_size */ pxd_t s_xfsckpxd; /* 8: extendfs fsckpxd */ pxd_t s_xlogpxd; /* 8: extendfs logpxd */ - char s_uuid[16]; /* 16: 128-bit uuid for volume */ + uuid_t s_uuid; /* 16: 128-bit uuid for volume */ char s_label[16]; /* 16: volume label */ - char s_loguuid[16]; /* 16: 128-bit uuid for log device */ + uuid_t s_loguuid; /* 16: 128-bit uuid for log device */ }; |