提交 e12a4e8a 编写于 作者: A Al Viro

quota: use lookup_one_len_unlocked()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 85f40482
......@@ -2430,9 +2430,7 @@ int dquot_quota_on_mount(struct super_block *sb, char *qf_name,
struct dentry *dentry;
int error;
inode_lock(d_inode(sb->s_root));
dentry = lookup_one_len(qf_name, sb->s_root, strlen(qf_name));
inode_unlock(d_inode(sb->s_root));
dentry = lookup_one_len_unlocked(qf_name, sb->s_root, strlen(qf_name));
if (IS_ERR(dentry))
return PTR_ERR(dentry);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册