Message ID | 147830452891.26713.7192990963898417019.stgit@birch.djwong.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Fri, Nov 04, 2016 at 05:08:48PM -0700, Darrick J. Wong wrote: > The kernel's version of this function returns bool, so do so here too. > > Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Looks fine, Reviewed-by: Christoph Hellwig <hch@lst.de> -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index 8628bab..e14f964 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);
The kernel's version of this function returns bool, so do so here too. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> --- libxfs/xfs_format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html