summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-01-22 13:58:20 -0800
committerZach Brown <zab@redhat.com>2013-02-05 16:09:39 -0800
commitfd732dd81a698c90387a3611134e5fffec07411b (patch)
treede1808c71a2d4b79c50b5f896a2592ab02365c97 /volumes.c
parent7c9f323a7c9c7a0d7b516ed9974308bde4017ae2 (diff)
btrfs-progs: impossible BUG_ON meant to test empty
old_left_nritems is unsigned so BUG_ON(old_left_nritems < 0) is impossible. Presumably the BUG_ON() meant to test that it wasn't 0 so that btrfs_item_offset_nr() doesn't get a nr of -1. Signed-off-by: Zach Brown <zab@redhat.com>
Diffstat (limited to 'volumes.c')
0 files changed, 0 insertions, 0 deletions