]> git.baikalelectronics.ru Git - kernel.git/commit
autofs4: pass mode to autofs4_get_inode() explicitly
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Jan 2011 22:20:23 +0000 (17:20 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 18 Jan 2011 06:21:27 +0000 (01:21 -0500)
commit23eb2809f9bfd2fdf2d77777cb57cbf28d195243
treeb9ef52e197a38579799ba9b62f78bf0c35efa4cc
parentc875e92f4f31e8730bc65f7a847c37860831fa30
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