commit | 4b6ccca701ef5977d0ffbc2c932430dea88b38b6 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 03 12:00:44 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Sep 04 00:13:11 2013 -0400 |
tree | f8daa1243e24168fba2595c29805765856708673 | |
parent | cffe78d92c217a57f57ec6743f71adfe39ea543e [diff] |
add formats for dentry/file pathnames New formats: %p[dD][234]?. The next pointer is interpreted as struct dentry * or struct file * resp. ('d' => dentry, 'D' => file) and the last component(s) of pathname are printed (%pd => just the last one, %pd2 => the last two, etc.) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>