UPSTREAM: PCI: rockchip: Mark RC as common clock architecture
[firefly-linux-kernel-4.4.55.git] / fs / ubifs / find.c
index 5dc48cacb5a096af6d4276e8b6a5b12347c64554..2dcf3d473fec1d406bf0fc2d14d73828ff81f662 100644 (file)
@@ -947,8 +947,8 @@ static int find_dirtiest_idx_leb(struct ubifs_info *c)
        }
        dbg_find("LEB %d, dirty %d and free %d flags %#x", lp->lnum, lp->dirty,
                 lp->free, lp->flags);
-       ubifs_assert(lp->flags | LPROPS_TAKEN);
-       ubifs_assert(lp->flags | LPROPS_INDEX);
+       ubifs_assert(lp->flags & LPROPS_TAKEN);
+       ubifs_assert(lp->flags & LPROPS_INDEX);
        return lnum;
 }