autofs4: autofs4_get_inode() doesn't need autofs_info * argument anymore

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

Al Viro 726a5e06 0bf71d4d

+5 -7
+1 -1
fs/autofs4/autofs_i.h
··· 167 167 return 0; 168 168 } 169 169 170 - struct inode *autofs4_get_inode(struct super_block *, struct autofs_info *, mode_t); 170 + struct inode *autofs4_get_inode(struct super_block *, mode_t); 171 171 void autofs4_free_ino(struct autofs_info *); 172 172 173 173 /* Expiration */
+2 -4
fs/autofs4/inode.c
··· 259 259 ino = autofs4_init_ino(NULL, sbi); 260 260 if (!ino) 261 261 goto fail_free; 262 - root_inode = autofs4_get_inode(s, ino, S_IFDIR | 0755); 262 + root_inode = autofs4_get_inode(s, S_IFDIR | 0755); 263 263 if (!root_inode) 264 264 goto fail_ino; 265 265 ··· 342 342 return -EINVAL; 343 343 } 344 344 345 - struct inode *autofs4_get_inode(struct super_block *sb, 346 - struct autofs_info *inf, 347 - mode_t mode) 345 + struct inode *autofs4_get_inode(struct super_block *sb, mode_t mode) 348 346 { 349 347 struct inode *inode = new_inode(sb); 350 348
+2 -2
fs/autofs4/root.c
··· 554 554 555 555 strcpy(cp, symname); 556 556 557 - inode = autofs4_get_inode(dir->i_sb, ino, S_IFLNK | 0555); 557 + inode = autofs4_get_inode(dir->i_sb, S_IFLNK | 0555); 558 558 if (!inode) { 559 559 kfree(cp); 560 560 if (!dentry->d_fsdata) ··· 740 740 741 741 autofs4_del_active(dentry); 742 742 743 - inode = autofs4_get_inode(dir->i_sb, ino, S_IFDIR | 0555); 743 + inode = autofs4_get_inode(dir->i_sb, S_IFDIR | 0555); 744 744 if (!inode) { 745 745 if (!dentry->d_fsdata) 746 746 kfree(ino);