diff options
author | Chandan Babu R <chandan.babu@oracle.com> | 2021-08-11 10:33:20 +0530 |
---|---|---|
committer | Chandan Babu R <chandan.babu@oracle.com> | 2022-04-13 07:02:45 +0000 |
commit | 973ac0eb3a7dfedecd385bd2b48b12e62a0492f2 (patch) | |
tree | 961ec84afa23d6614b403438bbb68d9daf2eaa6b /fs/xfs/xfs_super.c | |
parent | c3c4ecb529c5a1f0590cffb70649d407ee79b8a8 (diff) | |
download | lwn-973ac0eb3a7dfedecd385bd2b48b12e62a0492f2.tar.gz lwn-973ac0eb3a7dfedecd385bd2b48b12e62a0492f2.zip |
xfs: Add XFS_SB_FEAT_INCOMPAT_NREXT64 to the list of supported flags
This commit enables XFS module to work with fs instances having 64-bit
per-inode extent counters by adding XFS_SB_FEAT_INCOMPAT_NREXT64 flag to the
list of supported incompat feature flags.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 54be9d64093e..d35536a08f82 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1639,6 +1639,10 @@ xfs_fs_fill_super( goto out_filestream_unmount; } + if (xfs_has_large_extent_counts(mp)) + xfs_warn(mp, + "EXPERIMENTAL Large extent counts feature in use. Use at your own risk!"); + error = xfs_mountfs(mp); if (error) goto out_filestream_unmount; |