Re: [PATCH 13/32] IGET: Stop EXT2 from using iget() and read_inode() [try #2]

Theodore Tso
2007-10-05T12:06:16Z

On Thu, Oct 04, 2007 at 04:57:08PM +0100, David Howells wrote:
> Stop the EXT2 filesystem from using iget() and read_inode(). Replace
> ext2_read_inode() with ext2_iget(), and call that instead of iget().
> ext2_iget() then uses iget_locked() directly and returns a proper error code
> instead of an inode in the event of an error.
>
> ext2_fill_super() returns any error incurred when getting the root inode
> instead of EINVAL.
>
> Signed-off-by: David Howells <dhowells@redhat.com>

Acked-by: "Theodore Ts'o" <tytso@mit.edu>

- Ted