]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 02:20:41 +0000 (21:20 -0500)
commitb4a929be981512e6130a9bf5675ab6efaaa32f1c
tree6a4f5808088a982d6cfdee4868cb2373cf961632
parent3ad8efdb47830b4c2937921f8a22f89555591f4a
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>
(cherry picked from commit 560f7d75457f86a43970aa413e334e394082dce4)
fs/btrfs/inode.c