autofs: small cleanup in autofs_getpath()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jun 2018 00:11:52 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2018 00:34:40 +0000 (17:34 -0700)
commit016e92da037e0b43dd5e5848c19b0b9749506963
tree3759b1c0f221f364bdd3b81ab556a0f55abe9b0e
parent6471e93863d6494e74e99ae2bdffac9c46571f81
autofs: small cleanup in autofs_getpath()

We don't set "*name" so it's slightly nicer to just pass "name" instead
of "&name".

Link: http://lkml.kernel.org/r/20180531064736.lnisb55eajwjynvk@kili.mountain
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs/waitq.c