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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Howells <dhowells@...>
Cc: Zach Brown <zab@...>, Linus Torvalds <torvalds@...>, Christoph Hellwig <hch@...>, <viro@...>, <akpm@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Tuesday, October 2, 2007 - 9:02 am

On Tue, 2007-10-02 at 13:32 +0100, David Howells wrote:

It's a better name than PTR_PTR(). :-)

Of course, the cast is unnecessary, and I'm sure you meant to return
error:

static inline void *ERR_CAST(const void *error)
{
	return error;
}

Shaggy
-- 
David Kleikamp
IBM Linux Technology Center

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/30] Remove iget() and read_inode(), David Howells, (Mon Oct 1, 9:09 am)
[PATCH 18/30] IGET: Stop ISOFS from using read_inode(), David Howells, (Mon Oct 1, 9:10 am)
Re: [PATCH 07/30] IGET: Stop BEFS from using iget() and read..., Dave Kleikamp, (Tue Oct 2, 9:02 am)
[PATCH 03/30] IGET: Use iget_failed() in GFS2, David Howells, (Mon Oct 1, 9:09 am)
[PATCH 02/30] IGET: Use iget_failed() in AFS, David Howells, (Mon Oct 1, 9:09 am)