diff options
| -rw-r--r-- | fs/xfs/xfs_fs.h | 1 | ||||
| -rw-r--r-- | fs/xfs/xfs_fsops.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/fs/xfs/xfs_fs.h b/fs/xfs/xfs_fs.h index c5fc116dfaa3..d34703dbcb42 100644 --- a/fs/xfs/xfs_fs.h +++ b/fs/xfs/xfs_fs.h | |||
| @@ -238,6 +238,7 @@ typedef struct xfs_fsop_resblks { | |||
| 238 | #define XFS_FSOP_GEOM_FLAGS_LAZYSB 0x4000 /* lazy superblock counters */ | 238 | #define XFS_FSOP_GEOM_FLAGS_LAZYSB 0x4000 /* lazy superblock counters */ |
| 239 | #define XFS_FSOP_GEOM_FLAGS_V5SB 0x8000 /* version 5 superblock */ | 239 | #define XFS_FSOP_GEOM_FLAGS_V5SB 0x8000 /* version 5 superblock */ |
| 240 | #define XFS_FSOP_GEOM_FLAGS_FTYPE 0x10000 /* inode directory types */ | 240 | #define XFS_FSOP_GEOM_FLAGS_FTYPE 0x10000 /* inode directory types */ |
| 241 | #define XFS_FSOP_GEOM_FLAGS_FINOBT 0x20000 /* free inode btree */ | ||
| 241 | 242 | ||
| 242 | /* | 243 | /* |
| 243 | * Minimum and maximum sizes need for growth checks. | 244 | * Minimum and maximum sizes need for growth checks. |
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index 96e4eb0d9452..3445ead7c1fc 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
| @@ -104,7 +104,9 @@ xfs_fs_geometry( | |||
| 104 | (xfs_sb_version_hascrc(&mp->m_sb) ? | 104 | (xfs_sb_version_hascrc(&mp->m_sb) ? |
| 105 | XFS_FSOP_GEOM_FLAGS_V5SB : 0) | | 105 | XFS_FSOP_GEOM_FLAGS_V5SB : 0) | |
| 106 | (xfs_sb_version_hasftype(&mp->m_sb) ? | 106 | (xfs_sb_version_hasftype(&mp->m_sb) ? |
| 107 | XFS_FSOP_GEOM_FLAGS_FTYPE : 0); | 107 | XFS_FSOP_GEOM_FLAGS_FTYPE : 0) | |
| 108 | (xfs_sb_version_hasfinobt(&mp->m_sb) ? | ||
| 109 | XFS_FSOP_GEOM_FLAGS_FINOBT : 0); | ||
| 108 | geo->logsectsize = xfs_sb_version_hassector(&mp->m_sb) ? | 110 | geo->logsectsize = xfs_sb_version_hassector(&mp->m_sb) ? |
| 109 | mp->m_sb.sb_logsectsize : BBSIZE; | 111 | mp->m_sb.sb_logsectsize : BBSIZE; |
| 110 | geo->rtsectsize = mp->m_sb.sb_blocksize; | 112 | geo->rtsectsize = mp->m_sb.sb_blocksize; |
