commit | 4abaca17e758e3326c96ced88b2cd9b7b84922f6 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Jul 11 14:39:56 2008 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Fri Jul 11 14:35:01 2008 +0100 |
tree | 920bcf9d988d3141d5a906ad683b8903ef074068 | |
parent | a93a6ce24215c69126c88f9c488afa50a168e0ca [diff] |
[GFS2] Fix GFS2's use of do_div() in its quota calculations Fix GFS2's need_sync()'s use of do_div() on an s64 by using div_s64() instead. This does assume that gt_quota_scale_den can be cast to an s32. This was introduced by patch b3b94faa5fe5968827ba0640ee9fba4b3e7f736e. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>