Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm

Pull libnvdimm fix from Dan Williams:
"A minor fix for the libnvdimm subsystem.

This is not critical. The problem can be worked around in userspace
by putting the namespace temporarily into raw mode
(ndctl_namespace_set_raw_mode() from libndctl), but that is awkward
for management utilities.

* 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm:
libnvdimm: fix namespace seed creation

+5
+5
drivers/nvdimm/region_devs.c
··· 458 458 nvdimm_bus_unlock(dev); 459 459 } 460 460 if (is_nd_btt(dev) && probe) { 461 + struct nd_btt *nd_btt = to_nd_btt(dev); 462 + 461 463 nd_region = to_nd_region(dev->parent); 462 464 nvdimm_bus_lock(dev); 463 465 if (nd_region->btt_seed == dev) 464 466 nd_region_create_btt_seed(nd_region); 467 + if (nd_region->ns_seed == &nd_btt->ndns->dev && 468 + is_nd_blk(dev->parent)) 469 + nd_region_create_blk_seed(nd_region); 465 470 nvdimm_bus_unlock(dev); 466 471 } 467 472 }