xfs: replace xfs_buf_geterror() with bp->b_error
authorChandra Seetharaman <sekharan@us.ibm.com>
Wed, 3 Aug 2011 02:18:34 +0000 (02:18 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 12 Aug 2011 18:39:40 +0000 (13:39 -0500)
commite570280521290c27621d60cffea2400bdf1f2c88
tree4cf24cfa20ecef67b2aafa2309d04a137ecfbe4a
parentac4d6888b21a8be373f3e06f1d4011fbe2bbbeac
xfs: replace xfs_buf_geterror() with bp->b_error

Since we just checked bp for NULL, it is ok to replace
xfs_buf_geterror() with bp->b_error in these places.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_vnodeops.c