Chinaunix首页 | 论坛 | 博客
  • 博客访问: 682659
  • 博文数量: 109
  • 博客积分: 2033
  • 博客等级: 大尉
  • 技术积分: 1454
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-11 13:26
文章分类

全部博文(109)

文章存档

2012年(5)

2011年(104)

分类: LINUX

2011-03-11 13:52:00

indirect_index.patch: fs/ext2/inode.c.orig 2007-10-30 11:22:31.000000000 -0500 +++ fs/ext2/inode.c 2007-10-30 11:24:36.000000000 -0500 @@ -829,7 +829,7 @@ for ( ; p < q ; p++) { nr = le32_to_cpu(*p); if (nr) { - *p = 0; + /* *p = 0; comment for indirect index */ /* accumulate blocks to free if they're contiguous */ if (count == 0) goto free_this; @@ -872,7 +872,7 @@ nr = le32_to_cpu(*p); if (!nr) continue; - *p = 0; + /* *p = 0; comment for indirect index */ bh = sb_bread(inode->i_sb, nr); /* * A read failure? Report error and clear slot  ---------摘自IBM(http://www.ibm.com/developerworks/cn/linux/l-cn-filesrc/indirect_index.patch) ---------原文http://www.ibm.com/developerworks/cn/linux/l-cn-filesrc/index.html?S_TACT=105AGX52&S_CMP=w-ccid
阅读(1183) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~