summaryrefslogtreecommitdiffstats
path: root/include/net/netlink.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-01-23 16:03:45 -0500
committerChris Mason <clm@fb.com>2014-01-28 13:20:27 -0800
commit580f0a678ebeba85d30b6a7f22ce32c472263c72 (patch)
treeae906912beacd74e676f685f769c0c5ea56007bd /include/net/netlink.h
parent0a2b2a844af616addc87cac3cc18dcaba2a9d0fb (diff)
downloadblackbird-op-linux-580f0a678ebeba85d30b6a7f22ce32c472263c72.tar.gz
blackbird-op-linux-580f0a678ebeba85d30b6a7f22ce32c472263c72.zip
Btrfs: fix extent_from_logical to deal with skinny metadata
I don't think this is an issue and I've not seen it in practice but extent_from_logical will fail to find a skinny extent because it uses btrfs_previous_item and gives it the normal extent item type. This is just not a place to use btrfs_previous_item since we care about either normal extents or skinny extents, so open code btrfs_previous_item to properly check. This would only affect metadata and the only place this is used for metadata is scrub and I'm pretty sure it's just for printing stuff out, not actually doing any work so hopefully it was never a problem other than a cosmetic one. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include/net/netlink.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud