projects
/
linux-flexiantxendom0-natty.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
835a36c
)
[CIFS] Use unsigned ea length for clarity
author
Steve French <sfrench@us.ibm.com>
Wed, 24 Feb 2010 21:56:48 +0000
(21:56 +0000)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/fs/cifs/cifssmb.c
b/fs/cifs/cifssmb.c
index
99ae57d
..
b79ff68
100644
(file)
--- 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;