Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251308
b: refs/heads/master
c: da39822
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed May 19, 2011
1 parent 297eccd commit 11d34e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 31456665a02148353a83fec84d3182700e356588
refs/heads/master: da39822c6565095a0151ccf9d6b95e2ae5612885
2 changes: 1 addition & 1 deletion trunk/fs/ceph/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static int ceph_readdir(struct file *filp, void *dirent, filldir_t filldir)
rinfo = &fi->last_readdir->r_reply_info;
dout("readdir frag %x num %d off %d chunkoff %d\n", frag,
rinfo->dir_nr, off, fi->offset);
while (off - fi->offset >= 0 && off - fi->offset < rinfo->dir_nr) {
while (off >= fi->offset && off - fi->offset < rinfo->dir_nr) {
u64 pos = ceph_make_fpos(frag, off);
struct ceph_mds_reply_inode *in =
rinfo->dir_in[off - fi->offset].in;
Expand Down

0 comments on commit 11d34e4

Please sign in to comment.