|
@@ -642,9 +642,7 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)
|
|
while (*s && *s != sep)
|
|
while (*s && *s != sep)
|
|
s++;
|
|
s++;
|
|
|
|
|
|
- inode_lock(dir);
|
|
|
|
- child = lookup_one_len(p, dentry, s - p);
|
|
|
|
- inode_unlock(dir);
|
|
|
|
|
|
+ child = lookup_one_len_unlocked(p, dentry, s - p);
|
|
dput(dentry);
|
|
dput(dentry);
|
|
dentry = child;
|
|
dentry = child;
|
|
} while (!IS_ERR(dentry));
|
|
} while (!IS_ERR(dentry));
|