Lines 45-52
typedef __u32 __bitwise __fs32;
Link Here
|
45 |
typedef __u16 __bitwise __fs16; |
45 |
typedef __u16 __bitwise __fs16; |
46 |
#endif |
46 |
#endif |
47 |
|
47 |
|
|
|
48 |
#ifdef __KERNEL__ |
48 |
#include <linux/ufs_fs_i.h> |
49 |
#include <linux/ufs_fs_i.h> |
49 |
#include <linux/ufs_fs_sb.h> |
50 |
#include <linux/ufs_fs_sb.h> |
|
|
51 |
#endif |
50 |
|
52 |
|
51 |
#define UFS_BBLOCK 0 |
53 |
#define UFS_BBLOCK 0 |
52 |
#define UFS_BBSIZE 8192 |
54 |
#define UFS_BBSIZE 8192 |
Lines 303-309
typedef __u16 __bitwise __fs16;
Link Here
|
303 |
#define UFS_MAXMNTLEN 512 |
305 |
#define UFS_MAXMNTLEN 512 |
304 |
#define UFS2_MAXMNTLEN 468 |
306 |
#define UFS2_MAXMNTLEN 468 |
305 |
#define UFS2_MAXVOLLEN 32 |
307 |
#define UFS2_MAXVOLLEN 32 |
306 |
/* #define UFS_MAXCSBUFS 31 */ |
308 |
#define UFS_MAXCSBUFS 31 |
307 |
#define UFS_LINK_MAX 32000 |
309 |
#define UFS_LINK_MAX 32000 |
308 |
/* |
310 |
/* |
309 |
#define UFS2_NOCSPTRS ((128 / sizeof(void *)) - 4) |
311 |
#define UFS2_NOCSPTRS ((128 / sizeof(void *)) - 4) |
Lines 370-376
struct ufs_csum_core {
Link Here
|
370 |
#define UFS_MULTILABEL 0x20 /* file system is MAC multi-label */ |
372 |
#define UFS_MULTILABEL 0x20 /* file system is MAC multi-label */ |
371 |
#define UFS_FLAGS_UPDATED 0x80 /* flags have been moved to new location */ |
373 |
#define UFS_FLAGS_UPDATED 0x80 /* flags have been moved to new location */ |
372 |
|
374 |
|
373 |
#if 0 |
375 |
#if 1 |
374 |
/* |
376 |
/* |
375 |
* This is the actual superblock, as it is laid out on the disk. |
377 |
* This is the actual superblock, as it is laid out on the disk. |
376 |
* Do NOT use this structure, because of sizeof(ufs_super_block) > 512 and |
378 |
* Do NOT use this structure, because of sizeof(ufs_super_block) > 512 and |