xfs: remove XFS_IO_INVALID
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 06:17:50 +0000 (17:17 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Oct 2018 06:17:50 +0000 (17:17 +1100)
commit97e5a6e6dc44b9ea660f85de084f6e38cb5cf39c
tree4142e678a7dddab3427d1192b327bd6fe0b37335
parentb39989009bdb84992915c9869f58094ed5becf10
xfs: remove XFS_IO_INVALID

The invalid state isn't any different from a hole, so merge the two
states.  Use the more descriptive hole name, but keep it as the first
value of the enum to catch uninitialized fields.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_aops.h