Merge branch 'for-4.16/dax' into libnvdimm-for-next
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Sat, 3 Feb 2018 07:26:10 +0000 (00:26 -0700)
committerRoss Zwisler <ross.zwisler@linux.intel.com>
Sat, 3 Feb 2018 07:26:10 +0000 (00:26 -0700)
1  2 
drivers/acpi/nfit/core.c
drivers/nvdimm/btt.c

Simple merge
index 5860f99113c67abf0dff3d666d5c287ef69413b7,c586bcdb5190b1c9f6447cb9a380568a03840988..2ef544f10ec8a3b2016bac8e9bc38475113eb5ef
@@@ -759,6 -884,14 +885,13 @@@ static int discover_arenas(struct btt *
                arena->external_lba_start = cur_nlba;
                parse_arena_meta(arena, super, cur_off);
  
 -              mutex_init(&arena->err_lock);
+               ret = log_set_indices(arena);
+               if (ret) {
+                       dev_err(to_dev(arena),
+                               "Unable to deduce log/padding indices\n");
+                       goto out;
+               }
                ret = btt_freelist_init(arena);
                if (ret)
                        goto out;