Loading fs/cifs/cached_dir.c +5 −4 Original line number Diff line number Diff line Loading @@ -47,10 +47,10 @@ int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, if (cifs_sb->root == NULL) return -ENOENT; if (strlen(path)) return -ENOENT; if (!path[0]) dentry = cifs_sb->root; else return -ENOENT; cfid = &tcon->cfids->cfid; mutex_lock(&cfid->fid_mutex); Loading Loading @@ -177,6 +177,7 @@ int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, cfid->tcon = tcon; cfid->is_valid = true; cfid->dentry = dentry; if (dentry) dget(dentry); kref_init(&cfid->refcount); Loading Loading
fs/cifs/cached_dir.c +5 −4 Original line number Diff line number Diff line Loading @@ -47,10 +47,10 @@ int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, if (cifs_sb->root == NULL) return -ENOENT; if (strlen(path)) return -ENOENT; if (!path[0]) dentry = cifs_sb->root; else return -ENOENT; cfid = &tcon->cfids->cfid; mutex_lock(&cfid->fid_mutex); Loading Loading @@ -177,6 +177,7 @@ int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, cfid->tcon = tcon; cfid->is_valid = true; cfid->dentry = dentry; if (dentry) dget(dentry); kref_init(&cfid->refcount); Loading