Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77299
b: refs/heads/master
c: 88e7d70
h: refs/heads/master
i:
  77297: 45fdd14
  77295: 639d957
v: v3
  • Loading branch information
Steve French committed Jan 3, 2008
1 parent f32920f commit 9608ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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: 97837582bc1e191d2792af74c1f3762ed01243b9
refs/heads/master: 88e7d705c4bdb729f02173583628ccbf49dba945
6 changes: 3 additions & 3 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1966,13 +1966,13 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
pSesInfo = existingCifsSes;
cFYI(1, ("Existing smb sess found (status=%d)",
pSesInfo->status));
down(&pSesInfo->sesSem);
if (pSesInfo->status == CifsNeedReconnect) {
cFYI(1, ("Session needs reconnect"));
down(&pSesInfo->sesSem);
rc = cifs_setup_session(xid, pSesInfo,
cifs_sb->local_nls);
up(&pSesInfo->sesSem);
}
up(&pSesInfo->sesSem);
} else if (!rc) {
cFYI(1, ("Existing smb sess not found"));
pSesInfo = sesInfoAlloc();
Expand Down Expand Up @@ -3522,7 +3522,7 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb)
sesInfoFree(ses);

FreeXid(xid);
return rc; /* BB check if we should always return zero here */
return rc;
}

int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo,
Expand Down

0 comments on commit 9608ec9

Please sign in to comment.