+0
−32
+0
−1
+2
−2
Loading
mainline inclusion from mainline-v6.12-rc3 commit d7bde4f27ceef3dc6d72010a20d4da23db835a32 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBLWT7 CVE: CVE-2024-57952 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d7bde4f27ceef3dc6d72010a20d4da23db835a32 -------------------------------- simple_empty() and simple_offset_empty() perform the same task. The latter's use as a canary to find bugs has not found any new issues. A subsequent patch will remove the use of the mtree for iterating directory contents, so revert back to using a similar mechanism for determining whether a directory is indeed empty. Only one such mechanism is ever needed. Signed-off-by:Chuck Lever <chuck.lever@oracle.com> Link: https://lore.kernel.org/r/20241228175522.1854234-3-cel@kernel.org Reviewed-by:
Yang Erkun <yangerkun@huawei.com> Signed-off-by:
Christian Brauner <brauner@kernel.org> Signed-off-by:
Yongjian Sun <sunyongjian1@huawei.com>