David Howells 0a370e5de9 iget: stop HOSTFS from using iget() and read_inode()
Stop the HOSTFS filesystem from using iget() and read_inode().  Provide
hostfs_iget(), and call that instead of iget().  hostfs_iget() then uses
iget_locked() directly and returns a proper error code instead of an inode in
the event of an error.

hostfs_fill_sb_common() returns any error incurred when getting the root inode
instead of EINVAL.

Note that the contents of hostfs_kern.c need to be examined:

 (*) hostfs_iget() should perhaps subsume init_inode() and hostfs_read_inode().

 (*) It would appear that all hostfs inodes are the same inode because iget()
     was being called with inode number 0 - which forms the lookup key.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:29 -08:00
..
2008-02-07 08:42:26 -08:00
2007-10-19 11:53:37 -07:00
2007-10-22 08:13:21 -07:00
2008-02-07 08:42:27 -08:00
2007-10-18 14:37:31 -07:00
2007-10-17 08:42:54 -07:00
2008-01-30 13:31:46 +01:00
2008-02-06 10:41:07 -08:00
2008-02-05 09:44:07 -08:00
2008-02-06 10:41:07 -08:00
2008-02-07 08:42:24 -08:00
2008-01-30 13:31:46 +01:00
2008-02-03 17:51:36 -05:00
2008-01-30 13:31:46 +01:00
2008-02-06 10:41:09 -08:00
2007-11-14 18:45:42 -08:00
2008-02-06 10:41:02 -08:00
2008-02-05 09:44:07 -08:00