[Ocfs2-devel] [PATCH] ocfs2: Fix checking of return value of new_inode()

Joel Becker Joel.Becker at oracle.com
Fri Oct 24 14:42:14 PDT 2008


On Tue, Oct 21, 2008 at 01:35:03PM -0700, Joel Becker wrote:
> On Mon, Oct 20, 2008 at 07:23:53PM +0200, Jan Kara wrote:
> > new_inode() does not return ERR_PTR() but NULL in case of failure. Correct
> > checking of the return value.
> > 
> > Signed-off-by: Jan Kara <jack at suse.cz>
> Signed-off-by: Joel Becker <joel.becker at oracle.com>
> 
> Another upstream candidate.

	This is now in my xattr-28 branch.

Joel

-- 

Life's Little Instruction Book #139

	"Never deprive someone of hope; it might be all they have."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list