ceph: set next_offset on readdir finish
Set next_offset to 2 (always 2!), not 0, on readdir finish. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Родитель
bddfa3cc18
Коммит
f1f2765fae
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче