Re: [PATCH 20/30] IGET: Stop JFS from using iget() and read_inode()

From: Dave Kleikamp
Date: Mon Oct 01 2007 - 14:48:44 EST


On Mon, 2007-10-01 at 14:11 +0100, David Howells wrote:
> Stop the JFS filesystem from using iget() and read_inode(). Replace
> jfs_read_inode() with jfs_iget(), and call that instead of iget().
> jfs_iget() then uses iget_locked() directly and returns a proper error code
> instead of an inode in the event of an error.
>
> jfs_fill_super() returns any error incurred when getting the root inode
> instead of EINVAL.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Acked-by: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>

> ---
>
> fs/jfs/inode.c | 20 ++++++++++++++++----
> fs/jfs/jfs_inode.h | 2 +-
> fs/jfs/namei.c | 34 ++++++++++++++--------------------
> fs/jfs/super.c | 15 +++++++++------
> 4 files changed, 40 insertions(+), 31 deletions(-)

--
David Kleikamp
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/