Re: [PATCH 1/3] ocfs2: remove unneeded variable 'status'

From: Andrew Morton
Date: Thu Feb 26 2015 - 16:33:35 EST


On Mon, 23 Feb 2015 19:38:10 +0900 Daeseok Youn <daeseok.youn@xxxxxxxxx> wrote:

> Use 'retval' instead of 'status'.
>

The patch does a lot more than this. It causes __ocfs2_add_entry to
propagate error codes which were previously dropped on the floor.

Please update the changelog to fully explain the functional changes and
to explain why they are desirable.

After the patch there is still one unchecked call to
ocfs2_journal_access_di() and one unchecked call to
ocfs2_journal_access_db(). Probably these are bugs.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/