kernel: throne_tracker: remove unneeded check here

come to think of it, this part is only about folders
This commit is contained in:
backslashxx
2025-06-14 08:18:57 +08:00
committed by Rifat Azad
parent 06135cc827
commit 2b2320000c

View File

@@ -276,9 +276,6 @@ void search_manager(const char *path, int depth, struct list_head *uid_data)
.stop = &stop };
struct file *file;
if (is_lock_held(path))
goto skip_iterate;
if (!stop) {
file = ksu_filp_open_compat(pos->dirpath, O_RDONLY | O_NOFOLLOW, 0);
if (IS_ERR(file)) {