From: Brian Foster Date: Tue, 18 Aug 2015 07:53:17 +0000 (+1000) Subject: libxfs: remove sparse inode mount warning X-Git-Tag: v4.2.0-rc2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=237cb370a21f44218bc5f2d7a445e401ab93279c;p=thirdparty%2Fxfsprogs-dev.git libxfs: remove sparse inode mount warning The sparse inodes experimental feature warning fires multiple times during mkfs because the warning is emitted as part of the superblock verifier codepath. The warning is intended as a mount-time warning only and has been relocated as such in the kernel repo. Remove the warning from libxfs such that it is not emitted from userspace. Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/libxfs/xfs_sb.c b/libxfs/xfs_sb.c index ab30dc509..039596e87 100644 --- a/libxfs/xfs_sb.c +++ b/libxfs/xfs_sb.c @@ -180,9 +180,6 @@ xfs_mount_validate_sb( if (xfs_sb_version_hassparseinodes(sbp)) { uint32_t align; - xfs_alert(mp, - "EXPERIMENTAL sparse inode feature enabled. Use at your own risk!"); - align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize >> sbp->sb_blocklog; if (sbp->sb_inoalignmt != align) {