[PATCH] xfsdump: call mlog_exit in content_stream_restore
Christoph Hellwig
hch at infradead.org
Thu Aug 25 00:03:26 CDT 2011
On Mon, Aug 15, 2011 at 01:59:23PM -0500, Bill Kendall wrote:
> This patch adds mlog_exit() calls to all the return paths in
> content_stream_restore(). mlog_exit() is supposed to be called before
> returning from content_stream_dump() and content_stream_restore(), but
> many paths in the latter did not do so, allowing for the stream exit
> status to be incorrect.
>
> Signed-off-by: Bill Kendall <wkendall at sgi.com>
Looks okay, but once again I'd prefer to use goto labels so that
we have a logical grouping of that required exit.
More information about the xfs
mailing list