浏览代码

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6:
  jfs: fix regression preventing coalescing of extents
Linus Torvalds 16 年之前
父节点
当前提交
cd5232bd6b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/jfs/jfs_extent.c

+ 1 - 0
fs/jfs/jfs_extent.c

@@ -391,6 +391,7 @@ int extHint(struct inode *ip, s64 offset, xad_t * xp)
 		}
 		}
 		XADaddress(xp, xaddr);
 		XADaddress(xp, xaddr);
 		XADlength(xp, xlen);
 		XADlength(xp, xlen);
+		XADoffset(xp, prev);
 		/*
 		/*
 		 * only preserve the abnr flag within the xad flags
 		 * only preserve the abnr flag within the xad flags
 		 * of the returned hint.
 		 * of the returned hint.