Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1f58bb18 authored by Al Viro's avatar Al Viro
Browse files

mount_pseudo(): drop 'name' argument, switch to d_make_root()


Once upon a time we used to set ->d_name of e.g. pipefs root
so that d_path() on pipes would work.  These days it's
completely pointless - dentries of pipes are not even connected
to pipefs root.  However, mount_pseudo() had set the root
dentry name (passed as the second argument) and callers
kept inventing names to pass to it.  Including those that
didn't *have* any non-root dentries to start with...

All of that had been pointless for about 8 years now; it's
time to get rid of that cargo-culting...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1a6e9e76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment