Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284449
b: refs/heads/master
c: d46cfba
h: refs/heads/master
i:
  284447: 42dedbf
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed Jan 12, 2012
1 parent af2dd43 commit add09b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 56e925b677c5293e5aac73dac09e93b23259f907
refs/heads/master: d46cfba5363a163851dc768f717f34185527a472
7 changes: 3 additions & 4 deletions trunk/fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,12 +638,11 @@ static struct dentry *open_root_dentry(struct ceph_fs_client *fsc,
if (err == 0) {
dout("open_root_inode success\n");
if (ceph_ino(req->r_target_inode) == CEPH_INO_ROOT &&
fsc->sb->s_root == NULL) {
fsc->sb->s_root == NULL)
root = d_alloc_root(req->r_target_inode);
ceph_init_dentry(root);
} else {
else
root = d_obtain_alias(req->r_target_inode);
}
ceph_init_dentry(root);
req->r_target_inode = NULL;
dout("open_root_inode success, root dentry is %p\n", root);
} else {
Expand Down

0 comments on commit add09b4

Please sign in to comment.