Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1e71f25d14d70f2bf607b40ab6d7e18daca57f36 Commit: 1e71f25d14d70f2bf607b40ab6d7e18daca57f36 Parent: 5a44b3190e3441986648ff664ef045685995324b Author: Steve French <[EMAIL PROTECTED]> AuthorDate: Thu Sep 20 15:30:07 2007 +0000 Committer: Steve French <[EMAIL PROTECTED]> CommitDate: Thu Sep 20 15:30:07 2007 +0000
[CIFS] Print better error when server returns malformed QueryUnixInfo response Signed-off-by: Steve French <[EMAIL PROTECTED]> --- 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 bb30455..f33c89c 100644 --- 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html