]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: allow directory holes
authorTheodore Ts'o <tytso@mit.edu>
Fri, 21 Jun 2019 01:19:02 +0000 (21:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2019 06:28:37 +0000 (08:28 +0200)
commit7f1f86276515f6816a98f6ca3ef99c827d54642f
tree8725b5b9976c944a3abb237360af612bf7e7c163
parent4c95bc41baca2a7570deb0414cf30e7c50942d5e
ext4: allow directory holes

commit 4e19d6b65fb4fc42e352ce9883649e049da14743 upstream.

The largedir feature was intended to allow ext4 directories to have
unmapped directory blocks (e.g., directory holes).  And so the
released e2fsprogs no longer enforces this for largedir file systems;
however, the corresponding change to the kernel-side code was not made.

This commit fixes this oversight.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/dir.c
fs/ext4/namei.c