Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261997
b: refs/heads/master
c: 5980fc9
h: refs/heads/master
i:
  261995: 2782b95
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Jul 31, 2011
1 parent 181b858 commit 5cdfacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91d065c47317cd5f6577fa077cca3383c8d9243d
refs/heads/master: 5980fc966bb347801f3fcc39a2ef2a1e14fbf8cb
6 changes: 1 addition & 5 deletions trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5720,7 +5720,7 @@ CIFSSMBQAllEAs(const int xid, struct cifs_tcon *tcon,
char *temp_ptr;
char *end_of_smb;
__u16 params, byte_count, data_offset;
unsigned int ea_name_len;
unsigned int ea_name_len = ea_name ? strlen(ea_name) : 0;

cFYI(1, "In Query All EAs path %s", searchName);
QAllEAsRetry:
Expand Down Expand Up @@ -5815,10 +5815,6 @@ CIFSSMBQAllEAs(const int xid, struct cifs_tcon *tcon,
list_len -= 4;
temp_fea = ea_response_data->list;
temp_ptr = (char *)temp_fea;

if (ea_name)
ea_name_len = strlen(ea_name);

while (list_len > 0) {
unsigned int name_len;
__u16 value_len;
Expand Down

0 comments on commit 5cdfacd

Please sign in to comment.