aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-07-23 13:14:28 -0400
committerSteve French <smfrench@gmail.com>2012-07-23 17:36:26 -0400
commitac3aa2f8ae29c186c4742d15e39712af417c6d68 (patch)
treec2cc038cf4ad883d0f4085c5430db14af27e1328 /fs/cifs/cifssmb.c
parent00401ff780c58b9dabffef668386c206efc71c7c (diff)
cifs: remove extraneous newlines from cERROR and cFYI calls
Those macros add a newline on their own, so there's not any need to embed one in the message itself. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 4ee522b3f66f..684a0723021f 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -4137,7 +4137,7 @@ UnixQFileInfoRetry:
4137 rc = validate_t2((struct smb_t2_rsp *)pSMBr); 4137 rc = validate_t2((struct smb_t2_rsp *)pSMBr);
4138 4138
4139 if (rc || get_bcc(&pSMBr->hdr) < sizeof(FILE_UNIX_BASIC_INFO)) { 4139 if (rc || get_bcc(&pSMBr->hdr) < sizeof(FILE_UNIX_BASIC_INFO)) {
4140 cERROR(1, "Malformed FILE_UNIX_BASIC_INFO response.\n" 4140 cERROR(1, "Malformed FILE_UNIX_BASIC_INFO response. "
4141 "Unix Extensions can be disabled on mount " 4141 "Unix Extensions can be disabled on mount "
4142 "by specifying the nosfu mount option."); 4142 "by specifying the nosfu mount option.");
4143 rc = -EIO; /* bad smb */ 4143 rc = -EIO; /* bad smb */
@@ -4223,7 +4223,7 @@ UnixQPathInfoRetry:
4223 rc = validate_t2((struct smb_t2_rsp *)pSMBr); 4223 rc = validate_t2((struct smb_t2_rsp *)pSMBr);
4224 4224
4225 if (rc || get_bcc(&pSMBr->hdr) < sizeof(FILE_UNIX_BASIC_INFO)) { 4225 if (rc || get_bcc(&pSMBr->hdr) < sizeof(FILE_UNIX_BASIC_INFO)) {
4226 cERROR(1, "Malformed FILE_UNIX_BASIC_INFO response.\n" 4226 cERROR(1, "Malformed FILE_UNIX_BASIC_INFO response. "
4227 "Unix Extensions can be disabled on mount " 4227 "Unix Extensions can be disabled on mount "
4228 "by specifying the nosfu mount option."); 4228 "by specifying the nosfu mount option.");
4229 rc = -EIO; /* bad smb */ 4229 rc = -EIO; /* bad smb */
@@ -4675,7 +4675,7 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
4675 4675
4676 if (*num_of_nodes < 1) { 4676 if (*num_of_nodes < 1) {
4677 cERROR(1, "num_referrals: must be at least > 0," 4677 cERROR(1, "num_referrals: must be at least > 0,"
4678 "but we get num_referrals = %d\n", *num_of_nodes); 4678 "but we get num_referrals = %d", *num_of_nodes);
4679 rc = -EINVAL; 4679 rc = -EINVAL;
4680 goto parse_DFS_referrals_exit; 4680 goto parse_DFS_referrals_exit;
4681 } 4681 }
@@ -4692,14 +4692,14 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
4692 data_end = (char *)(&(pSMBr->PathConsumed)) + 4692 data_end = (char *)(&(pSMBr->PathConsumed)) +
4693 le16_to_cpu(pSMBr->t2.DataCount); 4693 le16_to_cpu(pSMBr->t2.DataCount);
4694 4694
4695 cFYI(1, "num_referrals: %d dfs flags: 0x%x ...\n", 4695 cFYI(1, "num_referrals: %d dfs flags: 0x%x ...",
4696 *num_of_nodes, 4696 *num_of_nodes,
4697 le32_to_cpu(pSMBr->DFSFlags)); 4697 le32_to_cpu(pSMBr->DFSFlags));
4698 4698
4699 *target_nodes = kzalloc(sizeof(struct dfs_info3_param) * 4699 *target_nodes = kzalloc(sizeof(struct dfs_info3_param) *
4700 *num_of_nodes, GFP_KERNEL); 4700 *num_of_nodes, GFP_KERNEL);
4701 if (*target_nodes == NULL) { 4701 if (*target_nodes == NULL) {
4702 cERROR(1, "Failed to allocate buffer for target_nodes\n"); 4702 cERROR(1, "Failed to allocate buffer for target_nodes");
4703 rc = -ENOMEM; 4703 rc = -ENOMEM;
4704 goto parse_DFS_referrals_exit; 4704 goto parse_DFS_referrals_exit;
4705 } 4705 }