[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 99ae57d01d4f668797ea4aebda9cfb7f2dd8e519..b79ff68c47c724d6c9d19e57aee00991d909628a 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;