diff options
| author | 2009-04-02 17:05:11 -0400 | |
|---|---|---|
| committer | 2009-04-02 17:05:11 -0400 | |
| commit | c293498be69816087746161338de4b81efdf69fc (patch) | |
| tree | 32b856b67ca63e2649c8574c9a09352666362ec8 /fs/btrfs/tree-log.c | |
| parent | Btrfs: remove dead code (diff) | |
| download | linux-dev-c293498be69816087746161338de4b81efdf69fc.tar.xz linux-dev-c293498be69816087746161338de4b81efdf69fc.zip | |
Btrfs: BUG to BUG_ON changes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
| -rw-r--r-- | fs/btrfs/tree-log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index c047eea4093f..25f20ea11f27 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -1222,8 +1222,7 @@ insert: ret = insert_one_name(trans, root, path, key->objectid, key->offset, name, name_len, log_type, &log_key); - if (ret && ret != -ENOENT) - BUG(); + BUG_ON(ret && ret != -ENOENT); goto out; } |
