autofs4: autofs4_mkroot() is not different from autofs4_init_ino()

Kill it. Mind you, it's been an obfuscated call of autofs4_init_ino()
ever since 2.3.99pre6-4...

Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 14a2f00b 292c5ee8

+1 -12
+1 -12
fs/autofs4/inode.c
··· 215 215 return (*pipefd < 0); 216 216 } 217 217 218 - static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi) 219 - { 220 - struct autofs_info *ino; 221 - 222 - ino = autofs4_init_ino(NULL, sbi, S_IFDIR | 0755); 223 - if (!ino) 224 - return NULL; 225 - 226 - return ino; 227 - } 228 - 229 218 int autofs4_fill_super(struct super_block *s, void *data, int silent) 230 219 { 231 220 struct inode * root_inode; ··· 258 269 /* 259 270 * Get the root inode and dentry, but defer checking for errors. 260 271 */ 261 - ino = autofs4_mkroot(sbi); 272 + ino = autofs4_init_ino(NULL, sbi, S_IFDIR | 0755); 262 273 if (!ino) 263 274 goto fail_free; 264 275 root_inode = autofs4_get_inode(s, ino);