aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ceph/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index 422794fd10e0..0b0a39d05ca6 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -338,7 +338,7 @@ more:
338 if (req->r_reply_info.dir_end) { 338 if (req->r_reply_info.dir_end) {
339 kfree(fi->last_name); 339 kfree(fi->last_name);
340 fi->last_name = NULL; 340 fi->last_name = NULL;
341 fi->next_offset = 0; 341 fi->next_offset = 2;
342 } else { 342 } else {
343 rinfo = &req->r_reply_info; 343 rinfo = &req->r_reply_info;
344 err = note_last_dentry(fi, 344 err = note_last_dentry(fi,