提交 601a27ea 编写于 作者: W Wengang Wang 提交者: Darrick J. Wong

xfs: fix extent busy updating

In xfs_extent_busy_update_extent() case 6 and 7, whenever bno is modified on
extent busy, the relavent length has to be modified accordingly.
Signed-off-by: NWengang Wang <wen.gang.wang@oracle.com>
Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
上级 e195605e
...@@ -236,6 +236,7 @@ xfs_extent_busy_update_extent( ...@@ -236,6 +236,7 @@ xfs_extent_busy_update_extent(
* *
*/ */
busyp->bno = fend; busyp->bno = fend;
busyp->length = bend - fend;
} else if (bbno < fbno) { } else if (bbno < fbno) {
/* /*
* Case 8: * Case 8:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册