btrfs: use only inline_pages from extent buffer
authorDavid Sterba <dsterba@suse.cz>
Thu, 28 Feb 2013 14:54:18 +0000 (14:54 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 28 Feb 2013 18:33:56 +0000 (13:33 -0500)
commitb8dae3138876080d4dd98cc438ff759338d632ef
tree0b99ae05e9e656e158261a05f11c2a140124ac49
parentc58aaad2ac46f8dbce9ab7f7a7a3726e332a56ee
btrfs: use only inline_pages from extent buffer

The nodesize is capped at 64k and there are enough pages preallocated in
extent_buffer::inline_pages. The fallback to kmalloc never happened
because even on the smallest page size considered (4k) inline_pages
covered the needs.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h