From: Josef Bacik Date: Thu, 9 May 2013 17:49:30 +0000 (-0400) Subject: Btrfs: handle running extent ops with skinny metadata X-Git-Tag: v3.10-rc2~7^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1c79e0947e0c190f865e2eb7b84a0fea0021cec;p=pandora-kernel.git Btrfs: handle running extent ops with skinny metadata Chris hit a bug where we weren't finding extent records when running extent ops. This is because we use the delayed_ref_head when running the extent op, which means we can't use the ->type checks to see if we are metadata. We also lose the level of the metadata we are working on. So to fix this we can just check the ->is_data section of the extent_op, and we can store the level of the buffer we were modifying in the extent_op. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed