diff options
author | Eric Sandeen <sandeen@redhat.com> | 2012-10-09 15:11:45 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-07 16:27:27 -0500 |
commit | 69a58a43f74eb2cb23d9bce2524dae33c289a40f (patch) | |
tree | e5690e216b862dfd2d2fc47c2ade6cf7caaf94fa /fs/xfs/xfs_fsops.c | |
parent | 009507b052fa391618eccf9e8c9f484407fd9018 (diff) |
xfs: report projid32bit feature in geometry call
When xfs gained the projid32bit feature, it was never added to
the FSGEOMETRY ioctl feature flags, so it's not queryable without
this patch.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
-rw-r--r-- | fs/xfs/xfs_fsops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index 4beaede43277..7b0a997cf62b 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
@@ -97,7 +97,9 @@ xfs_fs_geometry( | |||
97 | (xfs_sb_version_haslazysbcount(&mp->m_sb) ? | 97 | (xfs_sb_version_haslazysbcount(&mp->m_sb) ? |
98 | XFS_FSOP_GEOM_FLAGS_LAZYSB : 0) | | 98 | XFS_FSOP_GEOM_FLAGS_LAZYSB : 0) | |
99 | (xfs_sb_version_hasattr2(&mp->m_sb) ? | 99 | (xfs_sb_version_hasattr2(&mp->m_sb) ? |
100 | XFS_FSOP_GEOM_FLAGS_ATTR2 : 0); | 100 | XFS_FSOP_GEOM_FLAGS_ATTR2 : 0) | |
101 | (xfs_sb_version_hasprojid32bit(&mp->m_sb) ? | ||
102 | XFS_FSOP_GEOM_FLAGS_PROJID32 : 0); | ||
101 | geo->logsectsize = xfs_sb_version_hassector(&mp->m_sb) ? | 103 | geo->logsectsize = xfs_sb_version_hassector(&mp->m_sb) ? |
102 | mp->m_sb.sb_logsectsize : BBSIZE; | 104 | mp->m_sb.sb_logsectsize : BBSIZE; |
103 | geo->rtsectsize = mp->m_sb.sb_blocksize; | 105 | geo->rtsectsize = mp->m_sb.sb_blocksize; |