[Ocfs2-devel] [PATCH 1/1] ocfs2: add search result checking in block_get

Mark Fasheh mfasheh at suse.com
Mon Nov 3 16:20:37 PST 2008


On Sun, Nov 02, 2008 at 07:04:21PM +0800, Tiger Yang wrote:
> Because ocfs2_xattr_block_find may return zero when not found
> the xattr entry, and struct ocfs2_xattr_search may have not
> be initialized. So check the search result is necessary to
> avoid access NULL pointer.

Ok, thanks. This is now in the fixes branch.
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list