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>
This commit is contained in:
Andy Shevchenko
2019-01-10 15:41:53 +02:00
committed by Dave Kleikamp
parent 7ca5e8f089
commit 2e3bc61251
6 changed files with 29 additions and 23 deletions

View File

@@ -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 */
};