projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'tools' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
squashfs
/
zlib_wrapper.c
diff --git
a/fs/squashfs/zlib_wrapper.c
b/fs/squashfs/zlib_wrapper.c
index 15a03d0fb9f3a08d64bc85e7b53042757ad9c975..7a603874e483166022a58ee788d0877b99d4505f 100644
(file)
--- a/
fs/squashfs/zlib_wrapper.c
+++ b/
fs/squashfs/zlib_wrapper.c
@@
-128,8
+128,9
@@
static int zlib_uncompress(struct squashfs_sb_info *msblk, void **buffer,
goto release_mutex;
}
+ length = stream->total_out;
mutex_unlock(&msblk->read_data_mutex);
- return
stream->total_out
;
+ return
length
;
release_mutex:
mutex_unlock(&msblk->read_data_mutex);