diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-10-11 06:41:32 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2011-10-13 00:41:22 -0400 |
commit | 4a29a0bd1d63c1a434f29ce5dd6428b65604a398 (patch) | |
tree | 70ea3938b1545eb59ccec63ecd7549c9af718be5 /fs/cifs/cifsfs.c | |
parent | b4dacbc2823799b84d4d4563f865b0680cb44ed1 (diff) |
cifs: get rid of unused xid in cifs_get_root
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 03d2f6b27cc4..7986d330cbb5 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -532,7 +532,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) | |||
532 | char *full_path = NULL; | 532 | char *full_path = NULL; |
533 | char *s, *p; | 533 | char *s, *p; |
534 | char sep; | 534 | char sep; |
535 | int xid; | ||
536 | 535 | ||
537 | full_path = cifs_build_path_to_root(vol, cifs_sb, | 536 | full_path = cifs_build_path_to_root(vol, cifs_sb, |
538 | cifs_sb_master_tcon(cifs_sb)); | 537 | cifs_sb_master_tcon(cifs_sb)); |
@@ -541,7 +540,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) | |||
541 | 540 | ||
542 | cFYI(1, "Get root dentry for %s", full_path); | 541 | cFYI(1, "Get root dentry for %s", full_path); |
543 | 542 | ||
544 | xid = GetXid(); | ||
545 | sep = CIFS_DIR_SEP(cifs_sb); | 543 | sep = CIFS_DIR_SEP(cifs_sb); |
546 | dentry = dget(sb->s_root); | 544 | dentry = dget(sb->s_root); |
547 | p = s = full_path; | 545 | p = s = full_path; |
@@ -572,7 +570,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) | |||
572 | dput(dentry); | 570 | dput(dentry); |
573 | dentry = child; | 571 | dentry = child; |
574 | } while (!IS_ERR(dentry)); | 572 | } while (!IS_ERR(dentry)); |
575 | _FreeXid(xid); | ||
576 | kfree(full_path); | 573 | kfree(full_path); |
577 | return dentry; | 574 | return dentry; |
578 | } | 575 | } |