Whamcloud - gitweb
e2fsck: do not allow initialized blocks pass i_size
authorLukas Czerner <lczerner@redhat.com>
Thu, 28 Jun 2018 13:59:09 +0000 (15:59 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Jun 2018 21:22:06 +0000 (17:22 -0400)
commitcabde4999d1d10b6ace32eaddc99699b91e40551
tree9d0996cb9b1b9487b61d3af9b3e09d414bdc81a3
parent73b69a891e5460771672cc28fbc685a329f07be4
e2fsck: do not allow initialized blocks pass i_size

We do not allow initialized blocks to exist past i_size as this could
lead to stale data exposure.

Remove test f_pgsize_gt_blksize because it is testing for the scenario
that not allowed. f_eofblocks is already testing for this.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
tests/f_eofblocks/expect.1
tests/f_pgsize_gt_blksize/expect.1 [deleted file]
tests/f_pgsize_gt_blksize/expect.2 [deleted file]
tests/f_pgsize_gt_blksize/name [deleted file]
tests/f_pgsize_gt_blksize/script [deleted file]