xfs: Remove redundant error variable from xfs_growfs_data_private()
authorJie Liu <jeff.liu@oracle.com>
Tue, 14 May 2013 14:50:21 +0000 (22:50 +0800)
committerBen Myers <bpm@sgi.com>
Mon, 17 Jun 2013 22:43:04 +0000 (17:43 -0500)
commit897366f0e4bdc320ade81c3c4035977c99de9aad
tree6a81982eb9dfe726c09fb13b9ab7c499e20b4546
parentb2410e92b70507e054deb6cdb605ee1d61fc7c95
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: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_fsops.c