projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bddfa3c
)
ceph: set next_offset on readdir finish
author
Sage Weil
<sage@newdream.net>
Tue, 4 May 2010 04:50:39 +0000
(21:50 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 17 May 2010 22:25:26 +0000
(15:25 -0700)
Set next_offset to 2 (always 2!), not 0, on readdir finish.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/dir.c
patch
|
blob
|
history
diff --git
a/fs/ceph/dir.c
b/fs/ceph/dir.c
index
422794f
..
0b0a39d
100644
(file)
--- a/
fs/ceph/dir.c
+++ b/
fs/ceph/dir.c
@@
-338,7
+338,7
@@
more:
if (req->r_reply_info.dir_end) {
kfree(fi->last_name);
fi->last_name = NULL;
- fi->next_offset =
0
;
+ fi->next_offset =
2
;
} else {
rinfo = &req->r_reply_info;
err = note_last_dentry(fi,