Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
brd: fix uninitialized use of brd->dax_dev
commit 1647b9b "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 <[email protected]> Signed-off-by: Dan Williams <[email protected]>
- Loading branch information