summaryrefslogtreecommitdiff
path: root/include/linux/quotaops.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-08-23 22:38:00 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 12:48:11 +0200
commitdf818904fe5bc575ebf9d9baaa490949b43f9062 (patch)
tree68052f803e46da5dee6f6f2c023c4e730add293d /include/linux/quotaops.h
parentf04048c224e37621f42703a10047c31a3f2f2104 (diff)
ext4: fix punch hole for inline_data file systems
commit c1e8220bd316d8ae8e524df39534b8a412a45d5e upstream. If a program attempts to punch a hole on an inline data file, we need to convert it to a normal file first. This was detected using ext4/032 using the adv configuration. Simple reproducer: mke2fs -Fq -t ext4 -O inline_data /dev/vdc mount /vdc echo "" > /vdc/testfile xfs_io -c 'truncate 33554432' /vdc/testfile xfs_io -c 'fpunch 0 1048576' /vdc/testfile umount /vdc e2fsck -fy /dev/vdc Cc: stable@vger.kernel.org Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/quotaops.h')
0 files changed, 0 insertions, 0 deletions