提交 54f827ce 编写于 作者: J Joseph Qi 提交者: Shile Zhang

alinux: jbd2: fix build warnings

Fix the following build warnings:
  fs/jbd2/transaction.o: In function `jbd2_journal_stop':
  (.text+0x2934): undefined reference to `__udivdi3'
  (.text+0x2970): undefined reference to `__udivdi3'

Fixes: 861575c9 ("alinux: jbd2: track slow handle which is preventing transaction committing")
Reported-by: Nkbuild test robot <lkp@intel.com>
Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: NXiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
上级 5709b748
......@@ -1831,7 +1831,8 @@ int jbd2_journal_stop(handle_t *handle)
handle->h_requested_credits,
handle->h_requested_credits - handle->h_buffer_credits,
delta, jiffies_to_msecs(journal_space_wait),
sched_wait / NSEC_PER_MSEC, io_wait / NSEC_PER_MSEC);
div_u64(sched_wait, NSEC_PER_MSEC),
div_u64(io_wait, NSEC_PER_MSEC));
} while (0);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册