summaryrefslogtreecommitdiffstats
path: root/drivers/dax/dax-private.h
diff options
context:
space:
mode:
authorGerald Schaefer2017-05-03 14:56:02 +0200
committerDan Williams2017-05-03 20:30:03 +0200
commit1ef97fe4f8abd3317d5c3c860f990e02c2633959 (patch)
treefd6400daa598e5f60d5c3502fa93c8fb5c2fd7e5 /drivers/dax/dax-private.h
parentblock, dax: use correct format string in bdev_dax_supported (diff)
downloadkernel-qcow2-linux-1ef97fe4f8abd3317d5c3c860f990e02c2633959.tar.gz
kernel-qcow2-linux-1ef97fe4f8abd3317d5c3c860f990e02c2633959.tar.xz
kernel-qcow2-linux-1ef97fe4f8abd3317d5c3c860f990e02c2633959.zip
brd: fix uninitialized use of brd->dax_dev
commit 1647b9b9 "brd: add dax_operations support" introduced the allocation and freeing of a dax_device, but the allocated dax_device is not stored into the brd_device, so brd_del_one() will eventually operate on an uninitialized brd->dax_dev. Fix this by storing the allocated dax_device to brd->dax_dev. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/dax-private.h')
0 files changed, 0 insertions, 0 deletions