• Al Viro's avatar
    mount_pseudo(): drop 'name' argument, switch to d_make_root() · 1f58bb18
    Al Viro authored
    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>
    1f58bb18
aio.c 56.1 KB