From: Darrick J. Wong Date: Tue, 10 Jan 2017 02:16:33 +0000 (-0600) Subject: libxfs: return bool from sb_version_hasmetauuid X-Git-Tag: v4.10.0-rc1~90 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a29ab3d4cb0a1f3e6a3e19bbb2e75888f9ebed17;p=thirdparty%2Fxfsprogs-dev.git libxfs: return bool from sb_version_hasmetauuid The kernel's version of this function returns bool, so do so here too. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index 8628bab19..e14f96418 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -536,7 +536,7 @@ static inline bool xfs_sb_version_hassparseinodes(struct xfs_sb *sbp) * user-visible UUID to be changed on V5 filesystems which have a * filesystem UUID stamped into every piece of metadata. */ -static inline int xfs_sb_version_hasmetauuid(xfs_sb_t *sbp) +static inline bool xfs_sb_version_hasmetauuid(struct xfs_sb *sbp) { return (XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_5) && (sbp->sb_features_incompat & XFS_SB_FEAT_INCOMPAT_META_UUID);