hostfs: pass pathname to init_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 6 Jun 2010 23:38:18 +0000 (19:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:48:09 +0000 (16:48 -0400)
commit5e2df28cc62fdc3f4900de23f4ec69e6312f78a4
tree902335c22ccf03fff3452117b3a3adc7433719b5
parent52b209f7b848a28987ed133dc2b48f304b1dc6b8
hostfs: pass pathname to init_inode()

We will calculate it in all callers anyway, so there's no
need to duplicate that inside.  Moreover, that way we lose
all failure exits in init_inode(), so it doesn't need to
return anything.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hostfs/hostfs_kern.c