[Ocfs2-devel] [PATCH 19/29] ocfs2: Fix check of return value of ocfs2_start_trans()

Mark Fasheh mfasheh at suse.com
Thu Oct 30 16:34:08 PDT 2008


On Sat, Oct 25, 2008 at 12:08:12AM +0200, Jan Kara wrote:
> On failure, ocfs2_start_trans() returns values like ERR_PTR(-ENOMEM).
> Thus checks for !handle are wrong. Fix them to use IS_ERR().

Btw, this is in the 'fixes' branch of ocfs2.git. now.
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list