diff options
author | Dan Williams <[email protected]> | 2017-08-30 09:16:38 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2017-08-30 09:16:38 -0700 |
commit | 78f35473508118df5ea04b9515ac3f1aaec0a980 (patch) | |
tree | 176dba5e8788be7cd4bb4d422e21b25fa190ec67 /lib/memory-notifier-error-inject.c | |
parent | 14ccee78fc82f5512908f4424f541549a5705b89 (diff) |
dax: introduce a fs_dax_get_by_bdev() helper
Add a helper that can replace the following common pattern:
if (blk_queue_dax(bdev->bd_queue))
fs_dax_get_by_host(bdev->bd_disk->disk_name);
This will be used to move dax_device lookup from iomap-operation time to
fs-mount time.
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions