Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189215
b: refs/heads/master
c: 393f662
h: refs/heads/master
i:
  189213: 4e01346
  189211: e5efe53
  189207: 128de61
  189199: f5fbcc3
  189183: 5b24364
v: v3
  • Loading branch information
Sage Weil committed Mar 23, 2010
1 parent 0a4b433 commit 23b758e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: d96d60498ff748c5a88c72ec5d1cc4ba9a583e7e
refs/heads/master: 393f66209669ad23f4f6d4191234c1df4367df3c
4 changes: 3 additions & 1 deletion trunk/fs/ceph/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,10 @@ static int ceph_readdir(struct file *filp, void *dirent, filldir_t filldir)
CEPH_MDS_OP_LSSNAP : CEPH_MDS_OP_READDIR;

/* discard old result, if any */
if (fi->last_readdir)
if (fi->last_readdir) {
ceph_mdsc_put_request(fi->last_readdir);
fi->last_readdir = NULL;
}

/* requery frag tree, as the frag topology may have changed */
frag = ceph_choose_frag(ceph_inode(inode), frag, NULL, NULL);
Expand Down

0 comments on commit 23b758e

Please sign in to comment.