diff options
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index bb30455caabc..f33c89c36039 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -3361,6 +3361,9 @@ UnixQPathInfoRetry: | |||
3361 | rc = validate_t2((struct smb_t2_rsp *)pSMBr); | 3361 | rc = validate_t2((struct smb_t2_rsp *)pSMBr); |
3362 | 3362 | ||
3363 | if (rc || (pSMBr->ByteCount < sizeof(FILE_UNIX_BASIC_INFO))) { | 3363 | if (rc || (pSMBr->ByteCount < sizeof(FILE_UNIX_BASIC_INFO))) { |
3364 | cERROR(1, ("Malformed FILE_UNIX_BASIC_INFO response.\n" | ||
3365 | "Unix Extensions can be disabled on mount " | ||
3366 | "by specifying the nosfu mount option.")); | ||
3364 | rc = -EIO; /* bad smb */ | 3367 | rc = -EIO; /* bad smb */ |
3365 | } else { | 3368 | } else { |
3366 | __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); | 3369 | __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); |