On Thu, Dec 26, 2019 at 10:10:22AM -0600, Eric Biggers wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > fscrypt_zeroout_range() is only for encrypted regular files, not for > encrypted directories or symlinks. > > Fortunately, currently it seems it's never called on non-regular files. > But to be safe ext4 should explicitly check S_ISREG() before calling it. > > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> Thanks, applied. - Ted