aboutsummaryrefslogtreecommitdiff
path: root/fs/squashfs/xz_wrapper.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2011-01-31 04:17:03 +0000
committerSteve French <sfrench@us.ibm.com>2011-01-31 04:17:03 +0000
commit58b8a5b45a097b477c037bc376e65dc5f214bf3d (patch)
tree9fa2538a113fbd3aaa322d9c972aca3ca16b7e30 /fs/squashfs/xz_wrapper.c
parentffeb414a59291d5891f09727beb793c109f19f08 (diff)
parent70d1f365568e0cdbc9f4ab92428e1830fdb09ab0 (diff)
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'fs/squashfs/xz_wrapper.c')
-rw-r--r--fs/squashfs/xz_wrapper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/squashfs/xz_wrapper.c b/fs/squashfs/xz_wrapper.c
index 856756ca5ee..c4eb4001825 100644
--- a/fs/squashfs/xz_wrapper.c
+++ b/fs/squashfs/xz_wrapper.c
@@ -95,12 +95,6 @@ static int squashfs_xz_uncompress(struct squashfs_sb_info *msblk, void **buffer,
if (!buffer_uptodate(bh[k]))
goto release_mutex;
- if (avail == 0) {
- offset = 0;
- put_bh(bh[k++]);
- continue;
- }
-
stream->buf.in = bh[k]->b_data + offset;
stream->buf.in_size = avail;
stream->buf.in_pos = 0;