mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 23:52:40 +00:00
vfs: switch ->show_path() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
d861c630e9
commit
a6322de67b
3 changed files with 4 additions and 4 deletions
|
@ -131,7 +131,7 @@ static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
|
|||
seq_printf(m, "%i %i %u:%u ", r->mnt_id, r->mnt_parent->mnt_id,
|
||||
MAJOR(sb->s_dev), MINOR(sb->s_dev));
|
||||
if (sb->s_op->show_path)
|
||||
err = sb->s_op->show_path(m, mnt);
|
||||
err = sb->s_op->show_path(m, mnt->mnt_root);
|
||||
else
|
||||
seq_dentry(m, mnt->mnt_root, " \t\n\\");
|
||||
if (err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue