Skip to contentSkip to conversation

fails ocfs2_get_block() immediately when hit -EIO

PATCH New Wengang Wang 2 participants 2 messages Jul 13, 2009 – Jul 21, 2009 OCFS2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fails ocfs2_get_block() immediately when hit -EIO

fails ocfs2_get_block() immediately when hit -EIO

---
 fs/ocfs2/aops.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/ocfs2/aops.c +1 -0
index a10c989..9dfdf46 100644
@@ -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));
Signature · 1 line
1.6.2.5
#1 lore raw

PATCH 1/1 fails ocfs2_get_block() immediately when hit -EIO

Quoted 3 lines · Wengang Wang

fails ocfs2_get_block() immediately when hit -EIO

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

Joel

Signature · 11 lines
"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