diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2009-06-24 10:15:12 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-05 18:45:18 +0300 |
commit | 44737589442bf69d811e003d9d0064b8fc1541d6 (patch) | |
tree | 8b75c1cb6fe22e95ac6235535e25960c47231ea9 /fs/ubifs | |
parent | cb54ef8b1304fe25f3d57031e0f85558a043239f (diff) | |
download | blackbird-op-linux-44737589442bf69d811e003d9d0064b8fc1541d6.tar.gz blackbird-op-linux-44737589442bf69d811e003d9d0064b8fc1541d6.zip |
UBIFS: fix 64-bit divisions in debug print
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c index 7e4267ecfa56..762a7d6cec73 100644 --- a/fs/ubifs/io.c +++ b/fs/ubifs/io.c @@ -315,8 +315,9 @@ static void new_wbuf_timer_nolock(struct ubifs_wbuf *wbuf) if (wbuf->no_timer) return; dbg_io("set timer for jhead %d, %llu-%llu millisecs", wbuf->jhead, - ktime_to_ns(wbuf->softlimit)/USEC_PER_SEC, - (ktime_to_ns(wbuf->softlimit) + wbuf->delta)/USEC_PER_SEC); + div_u64(ktime_to_ns(wbuf->softlimit), USEC_PER_SEC), + div_u64(ktime_to_ns(wbuf->softlimit) + wbuf->delta, + USEC_PER_SEC)); hrtimer_start_range_ns(&wbuf->timer, wbuf->softlimit, wbuf->delta, HRTIMER_MODE_REL); } |