Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201338
b: refs/heads/master
c: 8c69673
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed Jul 23, 2010
1 parent e804ae5 commit 4741c63
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: bc4fdca85734d12cd2c7a25c52323ef6e6e5adef
refs/heads/master: 8c696737aa61316a252c4514d09dd163f1464d33
4 changes: 3 additions & 1 deletion trunk/fs/ceph/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,10 @@ int ceph_readdir_prepopulate(struct ceph_mds_request *req,
goto out;
}
err = ceph_init_dentry(dn);
if (err < 0)
if (err < 0) {
dput(dn);
goto out;
}
} else if (dn->d_inode &&
(ceph_ino(dn->d_inode) != vino.ino ||
ceph_snap(dn->d_inode) != vino.snap)) {
Expand Down

0 comments on commit 4741c63

Please sign in to comment.