autofs4: pass mode to autofs4_get_inode() explicitly
commit09f12c03fa699ce7d030c47add60577138927d4f
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Jan 2011 22:20:23 +0000 (16 17:20 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 18 Jan 2011 06:21:27 +0000 (18 01:21 -0500)
treeb9ef52e197a38579799ba9b62f78bf0c35efa4cc
parent14a2f00bde7668fe18d1c8355d26c7c96961e1f7
autofs4: pass mode to autofs4_get_inode() explicitly

In all cases we'd set inf->mode to know value just before
passing it to autofs4_get_inode().  That kills the need
to store it in autofs_info and pass it to autofs_init_ino()

Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/autofs_i.h
fs/autofs4/inode.c
fs/autofs4/root.c