[linux-cifs-client] [PATCH 3/3] cifs: add cFYI messages in code path that use this helper

Suresh Jayaraman sjayaraman at suse.de
Tue Apr 21 12:25:24 GMT 2009


To make debugging easier in the future.

Signed-off-by: Suresh Jayaraman <sjayaraman at suse.de>
---
 fs/cifs/cifssmb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index a02c43b..ea821a6 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -4033,6 +4033,7 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
 					max_len, is_unicode, nls_codepage);
 		if (rc)
 			goto parse_DFS_referrals_exit;
+		cFYI(1, ("DFS pathname = %s", node->path_name));
 
 		/* copy link target UNC */
 		temp = (char *)ref + le16_to_cpu(ref->NetworkAddressOffset);
@@ -4041,6 +4042,7 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
 					max_len, is_unicode, nls_codepage);
 		if (rc)
 			goto parse_DFS_referrals_exit;
+		cFYI(1, ("DFS nodename = %s", node->node_name));
 
 		ref += le16_to_cpu(ref->Size);
 	}


More information about the linux-cifs-client mailing list