| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 1/5] fix: force shutdown handling in xfs_end_io |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 08 Nov 2011 03:56:15 -0500 |
| References: | <20111108085614.478431403@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: linux-2.6/fs/xfs/xfs_aops.c
===================================================================
--- linux-2.6.orig/fs/xfs/xfs_aops.c 2011-11-02 09:00:45.569119028 +0100
+++ linux-2.6/fs/xfs/xfs_aops.c 2011-11-07 12:19:22.282316090 +0100
@@ -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)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 5/5] xfs: log file size updates at I/O completion time, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH, updated] xfs: Fix possible memory corruption in xfs_readlink, Christoph Hellwig |
| Previous by Thread: | [PATCH 5/5] xfs: log file size updates at I/O completion time, Christoph Hellwig |
| Next by Thread: | ***** SUSPECTED SPAM ***** Buy Custom Made University Diplomas, Fake College Degrees and Transcripts of World Famous Universities. recommends this site, sales |
| Indexes: | [Date] [Thread] [Top] [All Lists] |