Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
01c2e3f8
Commit
01c2e3f8
authored
Jan 20, 2012
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update from stable trees (v3.1.10)
parent
e575855a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
readdir.c
sources/3.1/readdir.c
+8
-2
No files found.
sources/3.1/readdir.c
View file @
01c2e3f8
...
...
@@ -554,7 +554,10 @@ static int find_cifs_entry(const int xid, struct cifs_tcon *pTcon,
rc
);
return
rc
;
}
cifs_save_resume_key
(
cifsFile
->
srch_inf
.
last_entry
,
cifsFile
);
/* FindFirst/Next set last_entry to NULL on malformed reply */
if
(
cifsFile
->
srch_inf
.
last_entry
)
cifs_save_resume_key
(
cifsFile
->
srch_inf
.
last_entry
,
cifsFile
);
}
while
((
index_to_find
>=
cifsFile
->
srch_inf
.
index_of_last_entry
)
&&
...
...
@@ -562,7 +565,10 @@ static int find_cifs_entry(const int xid, struct cifs_tcon *pTcon,
cFYI
(
1
,
"calling findnext2"
);
rc
=
CIFSFindNext
(
xid
,
pTcon
,
cifsFile
->
netfid
,
&
cifsFile
->
srch_inf
);
cifs_save_resume_key
(
cifsFile
->
srch_inf
.
last_entry
,
cifsFile
);
/* FindFirst/Next set last_entry to NULL on malformed reply */
if
(
cifsFile
->
srch_inf
.
last_entry
)
cifs_save_resume_key
(
cifsFile
->
srch_inf
.
last_entry
,
cifsFile
);
if
(
rc
)
return
-
ENOENT
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment