Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210054
b: refs/heads/master
c: ac1f12e
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Sage Weil committed Aug 25, 2010
1 parent 294fc2c commit f552fa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 36e21687e6e51c4225c42e6291938363f7bbfa7c
refs/heads/master: ac1f12ef569d49b013c3db86e11be7e15d66b1c3
4 changes: 2 additions & 2 deletions trunk/fs/ceph/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,11 +1230,11 @@ int ceph_readdir_prepopulate(struct ceph_mds_request *req,
in = dn->d_inode;
} else {
in = ceph_get_inode(parent->d_sb, vino);
if (in == NULL) {
if (IS_ERR(in)) {
dout("new_inode badness\n");
d_delete(dn);
dput(dn);
err = -ENOMEM;
err = PTR_ERR(in);
goto out;
}
dn = splice_dentry(dn, in, NULL);
Expand Down

0 comments on commit f552fa7

Please sign in to comment.