]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove BUG_ON() in compress_file_range()
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 8 Sep 2011 02:22:01 +0000 (10:22 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 20 Oct 2011 16:10:43 +0000 (18:10 +0200)
commitd3ec3371f265ddacf93740b314af558a467a2fe6
tree19167f699de731a0c9cc1faf44035e0e958ab9fb
parent5fe65c990b42428ec8a5ce3a4d3d3d250acc1384
Btrfs: remove BUG_ON() in compress_file_range()

It's not a big deal if we fail to allocate the array, and instead of
panic we can just give up compressing.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/inode.c