diff options
author | Steve French <sfrench@us.ibm.com> | 2010-02-23 15:51:43 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-02-23 15:51:43 -0500 |
commit | 96c03bccc7defb1f0d486165af5c0b8590f56c11 (patch) | |
tree | 1c22fda5236d702867ac6f540fc8106bbfca3a58 /fs/cifs | |
parent | 31c0519f7af99ae60fd39f7f1c1f7ae1efb56760 (diff) |
[CIFS] Minor cleanup to EA patch
CC: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/CHANGES | 3 | ||||
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 49503d2edc7e..bc0025cdd1c9 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -1,6 +1,7 @@ | |||
1 | Version 1.62 | 1 | Version 1.62 |
2 | ------------ | 2 | ------------ |
3 | Add sockopt=TCP_NODELAY mount option. | 3 | Add sockopt=TCP_NODELAY mount option. EA (xattr) routines hardened |
4 | to more strictly handle corrupt frames. | ||
4 | 5 | ||
5 | Version 1.61 | 6 | Version 1.61 |
6 | ------------ | 7 | ------------ |
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index d6d40b883abc..99ae57d01d4f 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -5392,7 +5392,7 @@ QAllEAsRetry: | |||
5392 | temp_fea = ea_response_data->list; | 5392 | temp_fea = ea_response_data->list; |
5393 | temp_ptr = (char *)temp_fea; | 5393 | temp_ptr = (char *)temp_fea; |
5394 | while (list_len > 0) { | 5394 | while (list_len > 0) { |
5395 | __u8 name_len; | 5395 | int name_len; |
5396 | __u16 value_len; | 5396 | __u16 value_len; |
5397 | 5397 | ||
5398 | list_len -= 4; | 5398 | list_len -= 4; |