diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-12-15 11:44:56 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-12-15 11:44:56 -0500 |
commit | 42dc7babdcc99feadb04d461592ce5898a362550 (patch) | |
tree | 9497d6dddba1a046b4a40a51a49cc41a13922394 /arch/x86/boot/install.sh | |
parent | 17d217fe970d34720f4f1633dca73a6aa2f3d9d1 (diff) |
Btrfs: Fix compressed writes on truncated pages
The compression code was using isize to limit the amount of data it
sent through zlib. But, it wasn't properly limiting the looping to
just the pages inside i_size. The end result was trying to compress
too many pages, including those that had not been setup and properly locked
down. This made the compression code oops while trying find_get_page on a
page that didn't exist.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'arch/x86/boot/install.sh')
0 files changed, 0 insertions, 0 deletions