Loading fs/cifs/cifsfs.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -532,7 +532,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) char *full_path = NULL; char *full_path = NULL; char *s, *p; char *s, *p; char sep; char sep; int xid; full_path = cifs_build_path_to_root(vol, cifs_sb, full_path = cifs_build_path_to_root(vol, cifs_sb, cifs_sb_master_tcon(cifs_sb)); cifs_sb_master_tcon(cifs_sb)); Loading @@ -541,7 +540,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) cFYI(1, "Get root dentry for %s", full_path); cFYI(1, "Get root dentry for %s", full_path); xid = GetXid(); sep = CIFS_DIR_SEP(cifs_sb); sep = CIFS_DIR_SEP(cifs_sb); dentry = dget(sb->s_root); dentry = dget(sb->s_root); p = s = full_path; p = s = full_path; Loading Loading @@ -572,7 +570,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) dput(dentry); dput(dentry); dentry = child; dentry = child; } while (!IS_ERR(dentry)); } while (!IS_ERR(dentry)); _FreeXid(xid); kfree(full_path); kfree(full_path); return dentry; return dentry; } } Loading Loading
fs/cifs/cifsfs.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -532,7 +532,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) char *full_path = NULL; char *full_path = NULL; char *s, *p; char *s, *p; char sep; char sep; int xid; full_path = cifs_build_path_to_root(vol, cifs_sb, full_path = cifs_build_path_to_root(vol, cifs_sb, cifs_sb_master_tcon(cifs_sb)); cifs_sb_master_tcon(cifs_sb)); Loading @@ -541,7 +540,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) cFYI(1, "Get root dentry for %s", full_path); cFYI(1, "Get root dentry for %s", full_path); xid = GetXid(); sep = CIFS_DIR_SEP(cifs_sb); sep = CIFS_DIR_SEP(cifs_sb); dentry = dget(sb->s_root); dentry = dget(sb->s_root); p = s = full_path; p = s = full_path; Loading Loading @@ -572,7 +570,6 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb) dput(dentry); dput(dentry); dentry = child; dentry = child; } while (!IS_ERR(dentry)); } while (!IS_ERR(dentry)); _FreeXid(xid); kfree(full_path); kfree(full_path); return dentry; return dentry; } } Loading