Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53964
b: refs/heads/master
c: 0b2365f
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed May 3, 2007
1 parent 28f35be commit d7311b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 4523cc3044d1bc7fcf3d7fee75d62bc76b8e1abb
refs/heads/master: 0b2365f826f40d6e966365299d4e9dcc7ef4e93f
2 changes: 1 addition & 1 deletion trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ void reset_cifs_unix_caps(int xid, struct cifsTconInfo * tcon,
/* We might be setting the path sep back to a different
form if we are reconnecting and the server switched its
posix path capability for this share */
if(CIFS_SB(sb)->prepathlen > 0)
if(sb && (CIFS_SB(sb)->prepathlen > 0))
CIFS_SB(sb)->prepath[0] = CIFS_DIR_SEP(CIFS_SB(sb));

cFYI(1,("Negotiate caps 0x%x",(int)cap));
Expand Down

0 comments on commit d7311b0

Please sign in to comment.