Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 897366f0 authored by Jie Liu's avatar Jie Liu Committed by Ben Myers
Browse files

xfs: Remove redundant error variable from xfs_growfs_data_private()



Commit eab4e633 "xfs: uncached buffer reads need to return an error".

Remove redundant error variable, using the function level error variable
to store bp->b_error instead.

Signed-off-by: default avatarJie Liu <jeff.liu@oracle.com>
Reviewed-by: default avatarBen Myers <bpm@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent b2410e92
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ xfs_growfs_data_private(
	if (!bp)
		return EIO;
	if (bp->b_error) {
		int	error = bp->b_error;
		error = bp->b_error;
		xfs_buf_relse(bp);
		return error;
	}