Skip to content

Commit cf9b930

Browse files
committed
Revert "KernelSU: throne_tracker: avoid incfs dirs"
This reverts commit 154751f.
1 parent 154751f commit cf9b930

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

drivers/kernelsu/throne_tracker.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -271,17 +271,7 @@ void search_manager(const char *path, int depth, struct list_head *uid_data)
271271
pr_err("Failed to open directory: %s, err: %ld\n", pos->dirpath, PTR_ERR(file));
272272
goto skip_iterate;
273273
}
274-
275-
#define INCFS_MAGIC_NUMBER (unsigned long)(0x5346434e49ul) // incrementalfs.h
276-
if (file->f_inode->i_sb->s_magic && file->f_inode->i_sb->s_magic == INCFS_MAGIC_NUMBER) {
277-
pr_info("%s: skip incfs: %s\n", pos->dirpath);
278-
filp_close(file, NULL);
279-
goto skip_iterate;
280-
}
281-
#ifdef CONFIG_KSU_DEBUG
282-
if (file->f_inode->i_sb->s_magic)
283-
pr_info("%s: magic: %lx current dir: %s\n", __func__, file->f_inode->i_sb->s_magic, pos->dirpath);
284-
#endif
274+
285275
iterate_dir(file, &ctx.ctx);
286276
filp_close(file, NULL);
287277
}

0 commit comments

Comments
 (0)