[CIFS] Use unsigned ea length for clarity
authorSteve French <sfrench@us.ibm.com>
Wed, 24 Feb 2010 21:56:48 +0000 (21:56 +0000)
committerSteve French <sfrench@us.ibm.com>
Wed, 24 Feb 2010 21:56:48 +0000 (21:56 +0000)
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>

fs/cifs/cifssmb.c

index 99ae57d..b79ff68 100644 (file)
@@ -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;