]> git.baikalelectronics.ru Git - kernel.git/commit
fs_context flavour for submounts
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 23 Dec 2018 21:25:31 +0000 (16:25 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 Jan 2019 22:44:27 +0000 (17:44 -0500)
commit3ae6c95d3a6f39e41b101eaca1600cf74bfddc11
treef7c6869c8307059a95a0c2688a88fecf5493b30e
parentf4aa0d0a05ba16ecdf9f788558cd1997c1d95cc4
fs_context flavour for submounts

This is an eventual replacement for vfs_submount() uses.  Unlike the
"mount" and "remount" cases, the users of that thing are not in VFS -
they are buried in various ->d_automount() instances and rather than
converting them all at once we introduce the (thankfully small and
simple) infrastructure here and deal with the prospective users in
afs, nfs, etc. parts of the series.

Here we just introduce a new constructor (fs_context_for_submount())
along with the corresponding enum constant to be put into fc->purpose
for those.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fs_context.c
include/linux/fs_context.h