summaryrefslogtreecommitdiffstats
path: root/lib/crc32defs.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-08-30 09:16:38 -0700
committerDan Williams <dan.j.williams@intel.com>2017-08-30 09:16:38 -0700
commit78f35473508118df5ea04b9515ac3f1aaec0a980 (patch)
tree176dba5e8788be7cd4bb4d422e21b25fa190ec67 /lib/crc32defs.h
parent14ccee78fc82f5512908f4424f541549a5705b89 (diff)
downloadlinux-78f35473508118df5ea04b9515ac3f1aaec0a980.tar.gz
linux-78f35473508118df5ea04b9515ac3f1aaec0a980.tar.bz2
linux-78f35473508118df5ea04b9515ac3f1aaec0a980.zip
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 <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions