Searched hist:"42 dc7babdcc99feadb04d461592ce5898a362550" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | ctree.c | diff 42dc7babdcc99feadb04d461592ce5898a362550 Mon Dec 15 10:44:56 CST 2008 Chris Mason <chris.mason@oracle.com> 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>
|
H A D | inode.c | diff 42dc7babdcc99feadb04d461592ce5898a362550 Mon Dec 15 10:44:56 CST 2008 Chris Mason <chris.mason@oracle.com> 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>
|