fs/ntfs3: Forbid FALLOC_FL_PUNCH_HOLE for normal files
mainline inclusion from mainline-v5.15 commit 8241fffa category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4G67J?from=project-issue CVE: NA ---------------------------------------------------------------------- FALLOC_FL_PUNCH_HOLE isn't allowed with normal files. Filesystem must remember info about hole, but for normal file we can only zero it and forget. Fixes: 4342306f ("fs/ntfs3: Add file operations and implementation") Now xfstests generic/016 generic/021 generic/022 pass. Signed-off-by:Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Signed-off-by:
Yin Xiujiang <yinxiujiang@kylinos.cn> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Hou Tao <houtao1@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment