| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 10/45] fix: force shutdown handling in xfs_end_io |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Fri, 28 Oct 2011 05:54:33 -0400 |
| References: | <20111028095423.796574703@xxxxxxxxxxxxxxxxxxxxxx> |
| User-agent: | quilt/0.48-1 |
Only ioend->io_error gets propagated back to e.g. AIO completions.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
fs/xfs/xfs_aops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: xfs/fs/xfs/xfs_aops.c
===================================================================
--- xfs.orig/fs/xfs/xfs_aops.c 2011-10-27 22:39:56.068672482 +0200
+++ xfs/fs/xfs/xfs_aops.c 2011-10-27 22:39:56.902173367 +0200
@@ -184,7 +184,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)
|
| Previous by Date: | [PATCH 05/45] xfs: remove the unused dm_attrs structure, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 07/45] xfs: cleanup xfs_iomap_eof_align_last_fsb, Christoph Hellwig |
| Previous by Thread: | [PATCH 05/45] xfs: remove the unused dm_attrs structure, Christoph Hellwig |
| Next by Thread: | [PATCH 07/45] xfs: cleanup xfs_iomap_eof_align_last_fsb, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |