Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[deliverable/linux.git] / fs / quota / dquot.c
index dcec1edf579fef6791c7fb630724227b804476bd..ba827daea5a0b2a7883327a18a83a43315c9bd2a 100644 (file)
@@ -2457,9 +2457,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);
 
This page took 0.032566 seconds and 5 git commands to generate.