fs/btrfs: drop if around WARN_ON
[deliverable/linux.git] / fs / btrfs / backref.c
index 208d8aa5b07e488f1f39cb0877ff46bb5d08d5a6..a3219523ebc9a7f63783089fdf9302789673b9cb 100644 (file)
@@ -890,8 +890,7 @@ again:
        while (!list_empty(&prefs)) {
                ref = list_first_entry(&prefs, struct __prelim_ref, list);
                list_del(&ref->list);
-               if (ref->count < 0)
-                       WARN_ON(1);
+               WARN_ON(ref->count < 0);
                if (ref->count && ref->root_id && ref->parent == 0) {
                        /* no parent == root of tree */
                        ret = ulist_add(roots, ref->root_id, 0, GFP_NOFS);
This page took 0.029755 seconds and 5 git commands to generate.