aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs/xfs/xfs_bmap_btree.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/fs/xfs/xfs_bmap_btree.c')
-rw-r--r--sys/gnu/fs/xfs/xfs_bmap_btree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/gnu/fs/xfs/xfs_bmap_btree.c b/sys/gnu/fs/xfs/xfs_bmap_btree.c
index bea44709afbe..725123f07ff9 100644
--- a/sys/gnu/fs/xfs/xfs_bmap_btree.c
+++ b/sys/gnu/fs/xfs/xfs_bmap_btree.c
@@ -773,6 +773,7 @@ xfs_bmbt_insrec(
XFS_STATS_INC(xs_bmbt_insrec);
block = xfs_bmbt_get_block(cur, level, &bp);
numrecs = be16_to_cpu(block->bb_numrecs);
+ nkey.br_startoff = 0;
#ifdef DEBUG
if ((error = xfs_btree_check_lblock(cur, block, level, bp))) {
XFS_BMBT_TRACE_CURSOR(cur, ERROR);