From a6f3640009b8474b90cc09b46c348798d2f44542 Mon Sep 17 00:00:00 2001 From: David Howells Date: Fri, 11 Jul 2008 14:39:56 +0100 Subject: [PATCH] --- yaml --- r: 101165 b: refs/heads/master c: 4abaca17e758e3326c96ced88b2cd9b7b84922f6 h: refs/heads/master i: 101163: 639252357ec0b15a1d167d498d982210974f693a v: v3 --- [refs] | 2 +- trunk/fs/gfs2/quota.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c94c955bf535..a4316f4e083c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a93a6ce24215c69126c88f9c488afa50a168e0ca +refs/heads/master: 4abaca17e758e3326c96ced88b2cd9b7b84922f6 diff --git a/trunk/fs/gfs2/quota.c b/trunk/fs/gfs2/quota.c index 56aaf915c59a..3e073f5144fa 100644 --- a/trunk/fs/gfs2/quota.c +++ b/trunk/fs/gfs2/quota.c @@ -904,7 +904,7 @@ static int need_sync(struct gfs2_quota_data *qd) do_sync = 0; else { value *= gfs2_jindex_size(sdp) * num; - do_div(value, den); + value = div_s64(value, den); value += (s64)be64_to_cpu(qd->qd_qb.qb_value); if (value < (s64)be64_to_cpu(qd->qd_qb.qb_limit)) do_sync = 0;