kernel: fix wrong show_fdinfo impl

Signed-off-by: Wang Han <416810799@qq.com>
This commit is contained in:
5ec1cff
2025-11-12 00:48:06 +08:00
committed by ShirkNeko
parent 7e595e1730
commit 095385f814

View File

@@ -234,7 +234,7 @@ static long ksu_wrapper_fallocate(struct file *fp, int mode, loff_t offset, loff
}
static void ksu_wrapper_show_fdinfo(struct seq_file *m, struct file *f) {
struct ksu_file_wrapper* data = m->file->private_data;
struct ksu_file_wrapper* data = f->private_data;
struct file* orig = data->orig;
if (orig->f_op->show_fdinfo) {
orig->f_op->show_fdinfo(m, orig);