]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfs: remove suport for filesystems without unwritten extent flag
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 06:18:58 +0000 (17:18 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Oct 2018 06:18:58 +0000 (17:18 +1100)
commitdaa79baefc47293c753fed191d722f7ef605a303
tree34f39a4c2079bf783847dae0dd11d4012c1587d2
parent97e5a6e6dc44b9ea660f85de084f6e38cb5cf39c
xfs: remove suport for filesystems without unwritten extent flag

The option to enable unwritten extents was made default in 2003,
removed from mkfs in 2007, and cannot be disabled in v5.  We also
rely on it for a lot of common functionality, so filesystems without
it will run a completely untested and buggy code path.  Enabling the
support also is a simple bit flip using xfs_db, so legacy file
systems can still be brought forward.

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/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/scrub/scrub.c
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_ioctl.c