ASoC: rt5677: use gpiochip data pointer
[deliverable/linux.git] / fs / cifs / cifsfs.c
index 2eea40353e6086fc808da8c74deeaaf158a43da9..1d86fc620e5c2a89e83e1d35dcf49364f289f83d 100644 (file)
 #endif
 
 int cifsFYI = 0;
-int traceSMB = 0;
+bool traceSMB;
 bool enable_oplocks = true;
-unsigned int linuxExtEnabled = 1;
-unsigned int lookupCacheEnabled = 1;
+bool linuxExtEnabled = true;
+bool lookupCacheEnabled = true;
 unsigned int global_secflags = CIFSSEC_DEF;
 /* unsigned int ntlmv2_support = 0; */
 unsigned int sign_CIFS_PDUs = 1;
@@ -642,9 +642,7 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)
                while (*s && *s != sep)
                        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);
                dentry = child;
        } while (!IS_ERR(dentry));
This page took 0.027768 seconds and 5 git commands to generate.