projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c93df5
)
ceph: don't show symlink target in debugfs/mdsc
author
Yan, Zheng
<zyan@redhat.com>
Mon, 18 Apr 2016 08:51:37 +0000
(16:51 +0800)
committer
Ilya Dryomov
<idryomov@gmail.com>
Wed, 25 May 2016 23:15:32 +0000
(
01:15
+0200)
symlink target is useless for debug and can be very long. It's annoying
to show it in debugfs/mdsc.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/debugfs.c
patch
|
blob
|
history
diff --git
a/fs/ceph/debugfs.c
b/fs/ceph/debugfs.c
index 31f831471ed287e470bc38fc8632b19d6aed61d2..39ff678e567fcb5c31d9729081119adaa4578def 100644
(file)
--- a/
fs/ceph/debugfs.c
+++ b/
fs/ceph/debugfs.c
@@
-109,7
+109,7
@@
static int mdsc_show(struct seq_file *s, void *p)
path ? path : "");
spin_unlock(&req->r_old_dentry->d_lock);
kfree(path);
- } else if (req->r_path2) {
+ } else if (req->r_path2
&& req->r_op != CEPH_MDS_OP_SYMLINK
) {
if (req->r_ino2.ino)
seq_printf(s, " #%llx/%s", req->r_ino2.ino,
req->r_path2);