From: Christoph Hellwig Date: Thu, 11 May 2017 19:01:09 +0000 (-0500) Subject: xfs: remove unused values from xfs_exntst_t X-Git-Tag: v4.12.0-rc1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6e1bd2ab181ca3f43322008d5988c21f07a2e9c;p=thirdparty%2Fxfsprogs-dev.git xfs: remove unused values from xfs_exntst_t Source kernel commit: 37f7f9bbf3b914e94f81426f6f59a3f97f4dc562 We only ever use the normal and unwritten states. And the actual ondisk format (this enum isn't despite being in xfs_format.h) only has space for the unwritten bit anyway. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index 7b01412af..1115ae5cc 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -1588,7 +1588,6 @@ typedef enum { */ typedef enum { XFS_EXT_NORM, XFS_EXT_UNWRITTEN, - XFS_EXT_DMAPI_OFFLINE, XFS_EXT_INVALID } xfs_exntst_t; /*