]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4404898f7ca651c1e0094e0767ebcecefe74d665
tree4142e678a7dddab3427d1192b327bd6fe0b37335
parente1cc38affd092edfbb246117e87c3abc5b71ad09
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