Squashfs: move table allocation into squashfs_read_table()
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Fri, 20 May 2011 01:26:43 +0000 (02:26 +0100)
committerPhillip Lougher <phillip@lougher.demon.co.uk>
Wed, 25 May 2011 17:21:31 +0000 (18:21 +0100)
commit82de647e1f81fd89afc48608d889dd3b33cb8983
tree847b7b40ed273eaa755c27bef6b1a20d201273c2
parent117a91e0f25fd7698e20ac3dfa62086be3dc82a3
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>
fs/squashfs/cache.c
fs/squashfs/export.c
fs/squashfs/fragment.c
fs/squashfs/id.c
fs/squashfs/squashfs.h
fs/squashfs/super.c
fs/squashfs/xattr_id.c