MT#55283 fix module refcount

Change-Id: Ife7dc65308b91b223bc67dd4f81f1e0fb079c5df
mr14.0
Richard Fuchs 2 months ago
parent df6f8f9b55
commit 0e1ba80ead

@ -1341,6 +1341,8 @@ static int proc_status_show(struct seq_file *m, void *v) {
}
static int proc_status_open(struct inode *i, struct file *f) {
if (!try_module_get(THIS_MODULE))
return -ENOENT;
return single_open(f, proc_status_show, i);
}

Loading…
Cancel
Save