]> 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)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 21 Jun 2019 01:19:02 +0000 (21:19 -0400)
commit4e19d6b65fb4fc42e352ce9883649e049da14743
tree08f0adf221ba0207d87495464ced7bd8ed1f23d0
parent9382cde8cd8fb941fc333b644a5772d02e1ff924
ext4: allow directory holes

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
fs/ext4/dir.c
fs/ext4/namei.c