diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-30 03:21:12 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:45:57 -0400 |
commit | bd186aa901c183d6e25257711b6c64b42a90dde0 (patch) | |
tree | a84157145a249923a79276d7bc9170701b100c43 /fs/xfs/xfs_mount.h | |
parent | 0ce4cfd4f7dde5891d5b3e3c1a28ff7a7b4d36b3 (diff) |
[XFS] kill the vfs_flags member in struct bhv_vfs
All flags are added to xfs_mount's m_flag instead. Note that the 32bit
inode flag was duplicated in both of them, but only cleared in the mount
when it was not nessecary due to the filesystem beeing small enough. Two
flags are still required here - one to indicate the mount option setting,
and one to indicate if it applies or not.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29507a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 8fefad022ae6..f37060bcde53 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -442,7 +442,7 @@ typedef struct xfs_mount { | |||
442 | must be synchronous except | 442 | must be synchronous except |
443 | for space allocations */ | 443 | for space allocations */ |
444 | #define XFS_MOUNT_INO64 (1ULL << 1) | 444 | #define XFS_MOUNT_INO64 (1ULL << 1) |
445 | /* (1ULL << 2) -- currently unused */ | 445 | #define XFS_MOUNT_DMAPI (1ULL << 2) /* dmapi is enabled */ |
446 | #define XFS_MOUNT_WAS_CLEAN (1ULL << 3) | 446 | #define XFS_MOUNT_WAS_CLEAN (1ULL << 3) |
447 | #define XFS_MOUNT_FS_SHUTDOWN (1ULL << 4) /* atomic stop of all filesystem | 447 | #define XFS_MOUNT_FS_SHUTDOWN (1ULL << 4) /* atomic stop of all filesystem |
448 | operations, typically for | 448 | operations, typically for |
@@ -452,7 +452,7 @@ typedef struct xfs_mount { | |||
452 | #define XFS_MOUNT_NOALIGN (1ULL << 7) /* turn off stripe alignment | 452 | #define XFS_MOUNT_NOALIGN (1ULL << 7) /* turn off stripe alignment |
453 | allocations */ | 453 | allocations */ |
454 | #define XFS_MOUNT_ATTR2 (1ULL << 8) /* allow use of attr2 format */ | 454 | #define XFS_MOUNT_ATTR2 (1ULL << 8) /* allow use of attr2 format */ |
455 | /* (1ULL << 9) -- currently unused */ | 455 | #define XFS_MOUNT_GRPID (1ULL << 9) /* group-ID assigned from directory */ |
456 | #define XFS_MOUNT_NORECOVERY (1ULL << 10) /* no recovery - dirty fs */ | 456 | #define XFS_MOUNT_NORECOVERY (1ULL << 10) /* no recovery - dirty fs */ |
457 | #define XFS_MOUNT_SHARED (1ULL << 11) /* shared mount */ | 457 | #define XFS_MOUNT_SHARED (1ULL << 11) /* shared mount */ |
458 | #define XFS_MOUNT_DFLT_IOSIZE (1ULL << 12) /* set default i/o size */ | 458 | #define XFS_MOUNT_DFLT_IOSIZE (1ULL << 12) /* set default i/o size */ |
@@ -460,13 +460,13 @@ typedef struct xfs_mount { | |||
460 | /* osyncisdsync is now default*/ | 460 | /* osyncisdsync is now default*/ |
461 | #define XFS_MOUNT_32BITINODES (1ULL << 14) /* do not create inodes above | 461 | #define XFS_MOUNT_32BITINODES (1ULL << 14) /* do not create inodes above |
462 | * 32 bits in size */ | 462 | * 32 bits in size */ |
463 | /* (1ULL << 15) -- currently unused */ | 463 | #define XFS_MOUNT_SMALL_INUMS (1ULL << 15) /* users wants 32bit inodes */ |
464 | #define XFS_MOUNT_NOUUID (1ULL << 16) /* ignore uuid during mount */ | 464 | #define XFS_MOUNT_NOUUID (1ULL << 16) /* ignore uuid during mount */ |
465 | #define XFS_MOUNT_BARRIER (1ULL << 17) | 465 | #define XFS_MOUNT_BARRIER (1ULL << 17) |
466 | #define XFS_MOUNT_IDELETE (1ULL << 18) /* delete empty inode clusters*/ | 466 | #define XFS_MOUNT_IDELETE (1ULL << 18) /* delete empty inode clusters*/ |
467 | #define XFS_MOUNT_SWALLOC (1ULL << 19) /* turn on stripe width | 467 | #define XFS_MOUNT_SWALLOC (1ULL << 19) /* turn on stripe width |
468 | * allocation */ | 468 | * allocation */ |
469 | /* (1ULL << 20) -- currently unused */ | 469 | #define XFS_MOUNT_RDONLY (1ULL << 20) /* read-only fs */ |
470 | #define XFS_MOUNT_DIRSYNC (1ULL << 21) /* synchronous directory ops */ | 470 | #define XFS_MOUNT_DIRSYNC (1ULL << 21) /* synchronous directory ops */ |
471 | #define XFS_MOUNT_COMPAT_IOSIZE (1ULL << 22) /* don't report large preferred | 471 | #define XFS_MOUNT_COMPAT_IOSIZE (1ULL << 22) /* don't report large preferred |
472 | * I/O size in stat() */ | 472 | * I/O size in stat() */ |