diff options
author | David Howells <dhowells@redhat.com> | 2008-07-11 14:39:56 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-07-11 14:35:01 +0100 |
commit | 4abaca17e758e3326c96ced88b2cd9b7b84922f6 (patch) | |
tree | 920bcf9d988d3141d5a906ad683b8903ef074068 /fs/gfs2/inode.c | |
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>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions