diff options
-rw-r--r-- | fs/btrfs/volumes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 48c357223e5..7f25ff1c385 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -2677,8 +2677,8 @@ again: found_key.offset); if (ret == -ENOSPC) failed++; - else if (ret) - BUG(); + else + BUG_ON(ret); } if (found_key.offset == 0) |