提交 24fa9e94 编写于 作者: A Artem Bityutskiy

UBIFS: fix tnc dumping

debugfs tnc dumping was broken because of an obvious typo.
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
上级 7bbe5b5a
......@@ -2443,7 +2443,7 @@ static ssize_t write_debugfs_file(struct file *file, const char __user *buf,
spin_lock(&c->space_lock);
dbg_dump_budg(c);
spin_unlock(&c->space_lock);
} else if (file->f_path.dentry == d->dump_budg) {
} else if (file->f_path.dentry == d->dump_tnc) {
mutex_lock(&c->tnc_mutex);
dbg_dump_tnc(c);
mutex_unlock(&c->tnc_mutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册