diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-29 11:22:01 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-04 08:58:54 -0800 |
commit | 2ede892342b3c628991ff1b9060108a7edd92d94 (patch) | |
tree | a9f31cf205aaa4b57ea01c7ad88154091c49e91f /fs/reiserfs/ioctl.c | |
parent | de2051147771017a61b62c02fd4e883c9b07712d (diff) | |
download | linux-2ede892342b3c628991ff1b9060108a7edd92d94.tar.gz linux-2ede892342b3c628991ff1b9060108a7edd92d94.tar.bz2 linux-2ede892342b3c628991ff1b9060108a7edd92d94.zip |
dax: fix up some of the block device related ifdefs
The DAX device <-> block device association is only enabled if
CONFIG_BLOCK is enabled. Update dax.h to account for that and use
the right conditions for the fs_put_dax stub as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20211129102203.2243509-28-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/reiserfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions