aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-03-03 12:22:53 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-03-08 07:29:09 -0400
commit3edaae7c5bda085b7dc704fe379f35b85e6f493e (patch)
tree40c8434ceff13de1c450a362b3f36dcb31c0e604 /fs/ubifs/ubifs.h
parentec32816f94a0baf90f5e73033dcdbc8679c7f91d (diff)
UBIFS: improve find function interface
Make 'ubifs_find_free_space()' return offset where free space starts, rather than the amount of free space. This is just more appropriat for its caller. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 039a68bee29a..2da1193a381f 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -1500,7 +1500,7 @@ long long ubifs_reported_space(const struct ubifs_info *c, long long free);
1500long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs); 1500long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs);
1501 1501
1502/* find.c */ 1502/* find.c */
1503int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *free, 1503int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs,
1504 int squeeze); 1504 int squeeze);
1505int ubifs_find_free_leb_for_idx(struct ubifs_info *c); 1505int ubifs_find_free_leb_for_idx(struct ubifs_info *c);
1506int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp, 1506int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp,