summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-02-24 21:56:48 +0000
committerSteve French <sfrench@us.ibm.com>2010-02-24 21:56:48 +0000
commit122ca0076e5f84fa12943f22f6586ff285670783 (patch)
tree45725a93611c7246dfa5b7f932795f9f4d76c4d6 /fs/cifs
parent835a36ca4a4cd9da557318c0e213346644a4b2c8 (diff)
downloadlinux-stable-122ca0076e5f84fa12943f22f6586ff285670783.tar.gz
linux-stable-122ca0076e5f84fa12943f22f6586ff285670783.tar.bz2
linux-stable-122ca0076e5f84fa12943f22f6586ff285670783.zip
[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>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 99ae57d01d4f..b79ff68c47c7 100644
--- a/fs/cifs/cifssmb.c
+++ b/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;