From: Dave Chinner Date: Mon, 22 Jun 2015 00:13:19 +0000 (+1000) Subject: xfs: sanitise error handling in xfs_alloc_fix_freelist X-Git-Tag: omap-for-v4.3/legacy-v2-signed~97^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396503fc8397e9c832503dd5669c0f11c5e4d046;p=pandora-kernel.git xfs: sanitise error handling in xfs_alloc_fix_freelist The error handling is currently an inconsistent mess as every error condition handles return values and releasing buffers individually. Clean this up by using gotos and a sane error label stack. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed