Set license using %license
[platform/upstream/btrfs-progs.git] / dir-test.c
index 24f2c2e..cfb77f2 100644 (file)
@@ -443,6 +443,7 @@ int main(int ac, char **av)
        }
 
        trans = btrfs_start_transaction(root, 1);
+       BUG_ON(IS_ERR(trans));
 
        dir_oid = btrfs_super_root_dir(&super);