projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f4048
)
quota: use lookup_one_len_unlocked()
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 8 Mar 2016 04:27:22 +0000
(23:27 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 14 Mar 2016 04:16:48 +0000
(
00:16
-0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/quota/dquot.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/quota/dquot.c
b/fs/quota/dquot.c
index 3c3b81bb6dfebbd3d6c3f1f8f1252e46308bf9c9..04ca0cc6d065478351e63a13f22d3b90ecb6b96e 100644
(file)
--- a/
fs/quota/dquot.c
+++ b/
fs/quota/dquot.c
@@
-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);