diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-18 07:06:51 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-23 05:23:40 -0500 |
commit | 4d61db4f87b527734ac0cc830dda8fcc4e2add2f (patch) | |
tree | 881cb7614a928ba004f588a82c064592f461fee3 /fs/ubifs/ubifs.h | |
parent | af14a1ad792621942a03e4bd0e5f17b6e177e2e0 (diff) |
UBIFS: use nicer 64-bit math
Instead of using do_div(), use better primitives from
linux/math64.h.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 543e850022eb..a17dd794ae92 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -1498,7 +1498,7 @@ void ubifs_cancel_ino_op(struct ubifs_info *c, struct inode *inode, | |||
1498 | long long ubifs_get_free_space(struct ubifs_info *c); | 1498 | long long ubifs_get_free_space(struct ubifs_info *c); |
1499 | int ubifs_calc_min_idx_lebs(struct ubifs_info *c); | 1499 | int ubifs_calc_min_idx_lebs(struct ubifs_info *c); |
1500 | void ubifs_convert_page_budget(struct ubifs_info *c); | 1500 | void ubifs_convert_page_budget(struct ubifs_info *c); |
1501 | long long ubifs_reported_space(const struct ubifs_info *c, uint64_t free); | 1501 | long long ubifs_reported_space(const struct ubifs_info *c, long long free); |
1502 | long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs); | 1502 | long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs); |
1503 | 1503 | ||
1504 | /* find.c */ | 1504 | /* find.c */ |