Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275754
b: refs/heads/master
c: 774ac21
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed Nov 11, 2011
1 parent 70e8d68 commit cb040c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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: 15a2015fbc692e1c97d7ce12d96e077f5ae7ea6d
refs/heads/master: 774ac21da76f5c3018428725074e27a3fd40b128
2 changes: 1 addition & 1 deletion trunk/fs/ceph/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ static void ceph_d_prune(struct dentry *dentry)
{
struct ceph_dentry_info *di;

dout("d_release %p\n", dentry);
dout("ceph_d_prune %p\n", dentry);

/* do we have a valid parent? */
if (!dentry->d_parent || IS_ROOT(dentry))
Expand Down
6 changes: 4 additions & 2 deletions trunk/fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,12 @@ 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);
else
ceph_init_dentry(root);
} else {
root = d_obtain_alias(req->r_target_inode);
}
req->r_target_inode = NULL;
dout("open_root_inode success, root dentry is %p\n", root);
} else {
Expand Down

0 comments on commit cb040c9

Please sign in to comment.