diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-08-11 00:41:51 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-08-23 22:58:51 -0700 |
commit | ebd84d724c85f22037a5c9cb04b9e6631309cb78 (patch) | |
tree | 0838fcb7977aa2d5c7699792cf9f1050378ed6e6 /COPYING | |
parent | af69f51e506f5ad3625c817ba2449a439bbe68ef (diff) |
dax: embed a struct device in dax_dev
The kref in dax_dev can be made redundant if the final put_device() on
the device associated with the dax_dev frees the dax_dev. This can be
accomplished by embedding a struct device in struct dax_dev, open coding
device_create() and specifying a custom release method.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions