Browse Source

[CIFS] Use unsigned ea length for clarity

Jeff correctly noted that using unsigned ea length is more intuitive.
CC: Jeff Lyaton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 15 years ago
parent
commit
122ca0076e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/cifs/cifssmb.c

+ 1 - 1
fs/cifs/cifssmb.c

@@ -5392,7 +5392,7 @@ QAllEAsRetry:
 	temp_fea = ea_response_data->list;
 	temp_ptr = (char *)temp_fea;
 	while (list_len > 0) {
-		int name_len;
+		unsigned int name_len;
 		__u16 value_len;
 
 		list_len -= 4;