projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2410e9
)
xfs: Remove redundant error variable from xfs_growfs_data_private()
author
Jie Liu
<jeff.liu@oracle.com>
Tue, 14 May 2013 14:50:21 +0000
(22:50 +0800)
committer
Ben Myers
<bpm@sgi.com>
Mon, 17 Jun 2013 22:43:04 +0000
(17:43 -0500)
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
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_fsops.c
b/fs/xfs/xfs_fsops.c
index 3c3644ea825b65edd813965296aa4c73d6214313..614eb0cc360860214ce08443ff84993afa531143 100644
(file)
--- a/
fs/xfs/xfs_fsops.c
+++ b/
fs/xfs/xfs_fsops.c
@@
-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;
}