diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2011-05-20 02:26:43 +0100 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2011-05-25 18:21:31 +0100 |
commit | 82de647e1f81fd89afc48608d889dd3b33cb8983 (patch) | |
tree | 847b7b40ed273eaa755c27bef6b1a20d201273c2 /fs/squashfs/squashfs.h | |
parent | 117a91e0f25fd7698e20ac3dfa62086be3dc82a3 (diff) | |
download | kernel_samsung_espresso10-82de647e1f81fd89afc48608d889dd3b33cb8983.zip kernel_samsung_espresso10-82de647e1f81fd89afc48608d889dd3b33cb8983.tar.gz kernel_samsung_espresso10-82de647e1f81fd89afc48608d889dd3b33cb8983.tar.bz2 |
Squashfs: move table allocation into squashfs_read_table()
This eliminates a lot of duplicate code.
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/squashfs.h')
-rw-r--r-- | fs/squashfs/squashfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h index 1f2e608..d622e84 100644 --- a/fs/squashfs/squashfs.h +++ b/fs/squashfs/squashfs.h @@ -44,7 +44,7 @@ extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *, u64, int); extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *, u64, int); -extern int squashfs_read_table(struct super_block *, void *, u64, int); +extern void *squashfs_read_table(struct super_block *, u64, int); /* decompressor.c */ extern const struct squashfs_decompressor *squashfs_lookup_decompressor(int); |