Btrfs: remove BUG_ON() in compress_file_range()
commit560f7d75457f86a43970aa413e334e394082dce4
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 8 Sep 2011 02:22:01 +0000 (8 10:22 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 20 Oct 2011 16:10:43 +0000 (20 18:10 +0200)
tree19167f699de731a0c9cc1faf44035e0e958ab9fb
parenta05a9bb18ae0abec0b513b5fde876c47905fa13e
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