On Fri, Sep 22, 2023 at 12:12:07PM +0800, Ian Kent wrote: > There was a patch from David Howells to convert autofs to use the mount > api but it was never merged. > > I have taken David's patch and refactored it to make the change easier > to review in the hope of having it merged. > > Signed-off-by: Ian Kent <raven@xxxxxxxxxx> for the series... Reviewed-by: Bill O'Donnell <bodonnel@xxxxxxxxxx> > > Ian Kent (8): > autofs: refactor autofs_prepare_pipe() > autofs: add autofs_parse_fd() > autofs: refactor super block info init > autofs: reformat 0pt enum declaration > autofs: refactor parse_options() > autofs: validate protocol version > autofs: convert autofs to use the new mount api > autofs: fix protocol sub version setting > > fs/autofs/autofs_i.h | 15 +- > fs/autofs/init.c | 9 +- > fs/autofs/inode.c | 423 +++++++++++++++++++++++++------------------ > 3 files changed, 266 insertions(+), 181 deletions(-) > > -- > 2.41.0 >