projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272e42b
)
xfs: fix force shutdown handling in xfs_end_io
author
Christoph Hellwig
<hch@infradead.org>
Tue, 8 Nov 2011 08:56:15 +0000
(08:56 +0000)
committer
Alex Elder
<aelder@sgi.com>
Tue, 8 Nov 2011 16:48:23 +0000
(10:48 -0600)
Ensure ioend->io_error gets propagated back to e.g. AIO completions.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_aops.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_aops.c
b/fs/xfs/xfs_aops.c
index 33b13310ee0c2f2ddf0c68abaa57e95c7f47d963..574d4ee9b6253ea3d589f23288aa7385907642bb 100644
(file)
--- a/
fs/xfs/xfs_aops.c
+++ b/
fs/xfs/xfs_aops.c
@@
-189,7
+189,7
@@
xfs_end_io(
int error = 0;
if (XFS_FORCED_SHUTDOWN(ip->i_mount)) {
- error = -EIO;
+
ioend->io_
error = -EIO;
goto done;
}
if (ioend->io_error)