All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH 1/1] fails ocfs2_get_block() immediately when hit -EIO
@ 2009-07-13  3:38 Wengang Wang
  2009-07-21  0:38 ` Joel Becker
  0 siblings, 1 reply; 2+ messages in thread
From: Wengang Wang @ 2009-07-13  3:38 UTC (permalink / raw)
  To: ocfs2-devel

  fails ocfs2_get_block() immediately when hit -EIO

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
---
 fs/ocfs2/aops.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index a10c989..9dfdf46 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -195,6 +195,7 @@ static int ocfs2_get_block(struct inode *inode, sector_t iblock,
 			     (unsigned long long)i_size_read(inode),
 			     OCFS2_I(inode)->ip_clusters);
 			dump_stack();
+			goto bail;
 		}
 
 		past_eof = ocfs2_blocks_for_bytes(inode->i_sb, i_size_read(inode));
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Ocfs2-devel] [PATCH 1/1] fails ocfs2_get_block() immediately when hit -EIO
  2009-07-13  3:38 [Ocfs2-devel] [PATCH 1/1] fails ocfs2_get_block() immediately when hit -EIO Wengang Wang
@ 2009-07-21  0:38 ` Joel Becker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Becker @ 2009-07-21  0:38 UTC (permalink / raw)
  To: ocfs2-devel

On Mon, Jul 13, 2009 at 11:38:58AM +0800, Wengang Wang wrote:
>   fails ocfs2_get_block() immediately when hit -EIO
> 
> Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>

This change is in the fixes branch of ocfs2.git.  Again, I modified the
commit message to describe what actually is going on.

Joel


-- 

"To announce that there must be no criticism of them president, or
 that we are to stand by the president, right or wrong, is not only
 unpatriotic and servile, but is morally treasonable to the American
 public."
	- Theodore Roosevelt

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-21  0:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13  3:38 [Ocfs2-devel] [PATCH 1/1] fails ocfs2_get_block() immediately when hit -EIO Wengang Wang
2009-07-21  0:38 ` Joel Becker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.