Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210056
b: refs/heads/master
c: f44c389
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Sage Weil committed Aug 26, 2010
1 parent 45b1c56 commit af49c6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad8453ab0a5b98884074302ba3cc37664791e261
refs/heads/master: f44c3890d9fd6e4284518ff3bb16879fee194a3a
4 changes: 4 additions & 0 deletions trunk/fs/ceph/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ static int mdsc_show(struct seq_file *s, void *p)
} else if (req->r_dentry) {
path = ceph_mdsc_build_path(req->r_dentry, &pathlen,
&pathbase, 0);
if (IS_ERR(path))
path = NULL;
spin_lock(&req->r_dentry->d_lock);
seq_printf(s, " #%llx/%.*s (%s)",
ceph_ino(req->r_dentry->d_parent->d_inode),
Expand All @@ -187,6 +189,8 @@ static int mdsc_show(struct seq_file *s, void *p)
if (req->r_old_dentry) {
path = ceph_mdsc_build_path(req->r_old_dentry, &pathlen,
&pathbase, 0);
if (IS_ERR(path))
path = NULL;
spin_lock(&req->r_old_dentry->d_lock);
seq_printf(s, " #%llx/%.*s (%s)",
ceph_ino(req->r_old_dentry->d_parent->d_inode),
Expand Down

0 comments on commit af49c6f

Please sign in to comment.