]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.fixes/ocfs2-add-io-error-check-in-ocfs2_get_sector.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / ocfs2-add-io-error-check-in-ocfs2_get_sector.patch
diff --git a/src/patches/suse-2.6.27.31/patches.fixes/ocfs2-add-io-error-check-in-ocfs2_get_sector.patch b/src/patches/suse-2.6.27.31/patches.fixes/ocfs2-add-io-error-check-in-ocfs2_get_sector.patch
deleted file mode 100644 (file)
index bc1ff6f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From: wengang wang <wen.gang.wang@oracle.com>
-Date: Fri, 13 Feb 2009 10:11:47 +0800
-Subject: [PATCH] ocfs2: add IO error check in ocfs2_get_sector()
-Patch-mainline: 2.6.29
-
-Check for IO error in ocfs2_get_sector().
-
-Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
-Signed-off-by: Mark Fasheh <mfasheh@suse.com>
----
- fs/ocfs2/super.c |    7 +++++++
- 1 files changed, 7 insertions(+), 0 deletions(-)
-
-Index: linux-2.6.27-sle11_ocfs2_update2/fs/ocfs2/super.c
-===================================================================
---- linux-2.6.27-sle11_ocfs2_update2.orig/fs/ocfs2/super.c
-+++ linux-2.6.27-sle11_ocfs2_update2/fs/ocfs2/super.c
-@@ -1538,6 +1538,13 @@ static int ocfs2_get_sector(struct super
-       unlock_buffer(*bh);
-       ll_rw_block(READ, 1, bh);
-       wait_on_buffer(*bh);
-+      if (!buffer_uptodate(*bh)) {
-+              mlog_errno(-EIO);
-+              brelse(*bh);
-+              *bh = NULL;
-+              return -EIO;
-+      }
-+
-       return 0;
- }