[Ocfs2-devel] [PATCH 1/1] OCFS2: add IO error check in ocfs2_get_sector() -v2

Joel Becker Joel.Becker at oracle.com
Thu Feb 12 11:46:26 PST 2009


On Thu, Feb 12, 2009 at 11:23:42AM -0800, Sunil Mushran wrote:
> The matching brelse() is in ocfs2_fill_super(). So you shouldn't
> need it. Cross check though please.

	No, if we get an error from ocfs2_get_sector() we return without
brelse().  So the patch is correct.

Joel

-- 

"I have never let my schooling interfere with my education."
        - Mark Twain

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