• Al Viro's avatar
    convenience helpers: vfs_get_super() and sget_fc() · cb50b348
    Al Viro authored
    the former is an analogue of mount_{single,nodev} for use in
    ->get_tree() instances, the latter - analogue of sget() for the
    same.
    
    These are fairly similar to the originals, but the callback signature
    for sget_fc() is different from sget() ones, so getting bits and
    pieces shared would be too convoluted; we might get around to that
    later, but for now let's just remember to keep them in sync.  They
    do live next to each other, and changes in either won't be hard
    to spot.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    cb50b348
super.c 46.4 KB