]> git.baikalelectronics.ru Git - kernel.git/commit
autofs: simplify parse_options() function call
authorIan Kent <raven@themaw.net>
Thu, 3 Jan 2019 23:27:36 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 21:13:46 +0000 (13:13 -0800)
commitc05b58310159edf390151ab302d0c06070ed36db
treeff079ccd7edf60f30cf407f546245be5768f0015
parent6e5c2ab72987ff1fd14dc0a04e12f57eecc60080
autofs: simplify parse_options() function call

The parse_options() function uses a long list of parameters, most of
which are present in the super block info structure already.

The mount parameters set in parse_options() options don't require
cleanup so using the super block info struct directly is simpler.

Link: http://lkml.kernel.org/r/154296972423.9889.9368859245676473329.stgit@pluto-themaw-net
Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs/inode.c