Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269938
b: refs/heads/master
c: 4a29a0b
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Oct 13, 2011
1 parent f8cc358 commit 519b0e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4dacbc2823799b84d4d4563f865b0680cb44ed1
refs/heads/master: 4a29a0bd1d63c1a434f29ce5dd6428b65604a398
3 changes: 0 additions & 3 deletions trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)
char *full_path = NULL;
char *s, *p;
char sep;
int xid;

full_path = cifs_build_path_to_root(vol, cifs_sb,
cifs_sb_master_tcon(cifs_sb));
Expand All @@ -541,7 +540,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)

cFYI(1, "Get root dentry for %s", full_path);

xid = GetXid();
sep = CIFS_DIR_SEP(cifs_sb);
dentry = dget(sb->s_root);
p = s = full_path;
Expand Down Expand Up @@ -572,7 +570,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)
dput(dentry);
dentry = child;
} while (!IS_ERR(dentry));
_FreeXid(xid);
kfree(full_path);
return dentry;
}
Expand Down

0 comments on commit 519b0e7

Please sign in to comment.