diff options
author | Eric Biggers <[email protected]> | 2019-12-26 10:10:22 -0600 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-01-17 16:24:53 -0500 |
commit | 33b4cc2501d323feef3cc3ec9a084d80bef5b5e8 (patch) | |
tree | ae2b857d07fcdf275a124bb9d6eeb546a8d3ff0c /drivers/usb/cdns3/cdns3-imx.c | |
parent | 457b1e353c739af39159269723949f315320446c (diff) |
ext4: only use fscrypt_zeroout_range() on regular files
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions