Btrfs: add missing extent state caching calls
authorFilipe David Borba Manana <fdmanana@gmail.com>
Tue, 26 Nov 2013 15:01:34 +0000 (15:01 +0000)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:48 +0000 (13:19 -0800)
commitc42ac0bc9530d51029b938e09b60b5ee86e5ee70
tree8ac0854125becbd20c2d9973e7e3bacea4714c10
parent32193c147f451652c6c089b5fa1c9852d53d65ee
Btrfs: add missing extent state caching calls

When we didn't find a matching extent state, we inserted a new one
but didn't cache it in the **cached_state parameter, which makes a
subsequent call do a tree lookup to get it.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c