xfs: remove unused values from xfs_exntst_t
authorChristoph Hellwig <hch@lst.de>
Wed, 19 Apr 2017 22:19:49 +0000 (15:19 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:41 +0000 (09:40 -0700)
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 <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_format.h

index d114ed80a076d0852169da9859c0439e428347ba..8425884668a86a313f7bfa12d97bbdc0bbc94a1c 100644 (file)
@@ -1588,7 +1588,6 @@ typedef enum {
  */
 typedef enum {
        XFS_EXT_NORM, XFS_EXT_UNWRITTEN,
-       XFS_EXT_DMAPI_OFFLINE, XFS_EXT_INVALID
 } xfs_exntst_t;
 
 /*