]> git.baikalelectronics.ru Git - kernel.git/commit
convenience helpers: vfs_get_super() and sget_fc()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 23 Dec 2018 22:25:47 +0000 (17:25 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Feb 2019 08:29:26 +0000 (03:29 -0500)
commit4b45f981d3db0dc114586049882787ef58a1d2ba
treed3896d01eb8fdd3ddbce3329314137f24da83ecb
parentab65e572e9129b735c4c56198113501471327719
convenience helpers: vfs_get_super() and sget_fc()

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: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c
include/linux/fs.h
include/linux/fs_context.h