projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a44b31
)
[CIFS] Print better error when server returns malformed QueryUnixInfo response
author
Steve French
<sfrench@us.ibm.com>
Thu, 20 Sep 2007 15:30:07 +0000
(15:30 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Thu, 20 Sep 2007 15:30:07 +0000
(15:30 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifssmb.c
b/fs/cifs/cifssmb.c
index bb30455caabcfcbf065ce3c5dd286845cd96e814..f33c89c36039a316d9fd353ae5ef8c533321fd3f 100644
(file)
--- a/
fs/cifs/cifssmb.c
+++ b/
fs/cifs/cifssmb.c
@@
-3361,6
+3361,9
@@
UnixQPathInfoRetry:
rc = validate_t2((struct smb_t2_rsp *)pSMBr);
if (rc || (pSMBr->ByteCount < sizeof(FILE_UNIX_BASIC_INFO))) {
+ cERROR(1, ("Malformed FILE_UNIX_BASIC_INFO response.\n"
+ "Unix Extensions can be disabled on mount "
+ "by specifying the nosfu mount option."));
rc = -EIO; /* bad smb */
} else {
__u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset);