]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: fix duplicate checking logic
authorJosef Bacik <josef@redhat.com>
Mon, 6 Jun 2011 14:50:35 +0000 (10:50 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 8 Jun 2011 20:37:29 +0000 (16:37 -0400)
commitf6a398298d34af66ec3a2d82a44a4dbc5277357d
tree5cb1a6437051c22f2f3ecca9a4c7d60e4192d377
parent723bda2083d44edbd6be0f0b09f902120dc07442
Btrfs: fix duplicate checking logic

When merging my code into the integration test the second check for duplicate
entries got screwed up.  This patch fixes it by dropping ret2 and just using ret
for the return value, and checking if we got an error before adding the bitmap
to the local list.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/free-space-cache.c