Wengang Wang
2009-Jul-13 03:38 UTC
[Ocfs2-devel] [PATCH 1/1] fails ocfs2_get_block() immediately when hit -EIO
fails ocfs2_get_block() immediately when hit -EIO Signed-off-by: Wengang Wang <wen.gang.wang at 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
Joel Becker
2009-Jul-21 00:38 UTC
[Ocfs2-devel] [PATCH 1/1] fails ocfs2_get_block() immediately when hit -EIO
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 at 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