Dan Williams
f5705aa8cf
dax, xfs, ext4: compile out iomap-dax paths in the FS_DAX=n case
...
Tetsuo reports:
fs/built-in.o: In function `xfs_file_iomap_end':
xfs_iomap.c:(.text+0xe0ef9): undefined reference to `put_dax'
fs/built-in.o: In function `xfs_file_iomap_begin':
xfs_iomap.c:(.text+0xe1a7f): undefined reference to `dax_get_by_host'
make: *** [vmlinux] Error 1
$ grep DAX .config
CONFIG_DAX=m
# CONFIG_DEV_DAX is not set
# CONFIG_FS_DAX is not set
When FS_DAX=n we can/must throw away the dax code in filesystems.
Implement 'fs_' versions of dax_get_by_host() and put_dax() that are
nops in the FS_DAX=n case.
Cc: <linux-xfs@vger.kernel.org>
Cc: <linux-ext4@vger.kernel.org>
Cc: Jan Kara <jack@suse.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Fixes: ef51042472f5 ("block, dax: move 'select DAX' from BLOCK to FS_DAX")
Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2017-05-13 17:52:16 -07:00
..
2017-05-06 11:46:16 -07:00
2016-06-21 09:53:44 +10:00
2017-05-08 17:15:13 -07:00
2017-05-03 15:52:09 -07:00
2017-04-03 15:18:17 -07:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2016-10-10 20:16:43 -07:00
2015-12-06 21:34:16 -05:00
2017-05-06 11:46:16 -07:00
2016-11-30 14:37:15 +11:00
2016-06-01 17:38:15 +10:00
2016-12-05 12:32:14 +11:00
2016-12-05 12:32:14 +11:00
2017-05-03 13:21:40 -07:00
2016-10-04 11:05:44 -07:00
2017-05-06 11:46:16 -07:00
2017-01-30 16:32:25 -08:00
2017-02-03 14:39:07 -08:00
2015-08-25 10:05:13 +10:00
2017-05-06 11:46:16 -07:00
2017-04-25 09:40:42 -07:00
2017-04-25 09:40:40 -07:00
2017-04-27 10:45:34 -07:00
2017-02-09 11:36:40 -08:00
2016-07-22 09:52:35 +10:00
2013-12-13 11:34:08 +11:00
2017-01-17 11:43:38 -08:00
2015-01-09 10:48:58 +11:00
2016-07-20 11:51:08 +10:00
2016-10-05 16:26:31 -07:00
2016-07-15 15:31:29 -04:00
2011-08-12 16:21:35 -05:00
2017-02-16 17:20:12 -08:00
2017-02-09 10:50:25 -08:00
2017-04-25 09:40:42 -07:00
2016-08-03 11:23:49 +10:00
2017-02-27 18:43:46 -08:00
2016-10-03 09:56:28 +11:00
2014-04-23 07:11:52 +10:00
2017-04-25 09:40:41 -07:00
2017-04-03 15:18:17 -07:00
2017-01-30 16:32:24 -08:00
2016-10-05 16:26:27 -07:00
2016-10-05 16:26:28 -07:00
2017-04-28 08:11:08 -07:00
2017-04-28 08:11:08 -07:00
2016-11-28 14:57:42 +11:00
2013-08-12 16:10:35 -05:00
2017-04-25 09:40:42 -07:00
2016-02-09 16:54:58 +11:00
2017-04-12 08:43:23 -07:00
2017-04-28 08:11:08 -07:00
2017-04-03 15:18:17 -07:00
2014-10-02 09:17:58 +10:00
2017-04-25 09:40:42 -07:00
2016-07-20 11:29:35 +10:00
2017-05-13 17:52:16 -07:00
2017-02-06 17:47:46 -08:00
2017-04-03 01:05:59 -04:00
2016-09-22 10:56:19 +02:00
2017-04-03 15:18:15 -07:00
2014-11-07 08:30:30 +11:00
2017-04-12 08:42:51 -07:00
2017-02-09 11:36:40 -08:00
2017-02-09 11:36:40 -08:00
2017-05-08 17:15:13 -07:00
2017-04-25 09:40:42 -07:00
2017-01-30 16:32:25 -08:00
2015-10-12 16:04:45 +11:00
2013-05-07 18:45:36 -05:00
2017-04-28 08:10:53 -07:00
2017-04-25 09:40:41 -07:00
2015-03-25 14:57:53 +11:00
2014-04-23 07:11:51 +10:00
2016-10-03 09:11:18 -07:00
2016-11-30 14:33:25 +11:00
2016-11-30 14:33:25 +11:00
2014-11-28 14:27:09 +11:00
2017-04-28 08:11:08 -07:00
2017-04-25 09:40:42 -07:00
2016-02-08 11:27:55 +11:00
2015-06-01 07:15:37 +10:00
2016-02-08 11:27:38 +11:00
2017-04-25 09:40:42 -07:00
2016-10-03 09:11:21 -07:00
2017-05-03 13:21:40 -07:00
2017-03-07 16:45:58 -08:00
2017-04-25 09:40:42 -07:00
2016-09-19 10:24:27 +10:00
2017-02-17 16:52:52 -08:00
2017-04-03 15:18:17 -07:00
2016-12-05 14:38:58 +11:00
2016-12-05 14:38:58 +11:00
2017-05-12 15:43:10 -07:00
2017-02-09 11:36:40 -08:00
2016-11-30 14:33:25 +11:00
2013-10-08 14:53:02 -05:00
2016-10-05 16:26:28 -07:00
2016-10-05 16:26:28 -07:00
2017-02-16 17:19:15 -08:00
2016-05-18 10:58:51 +10:00
2017-04-03 15:18:17 -07:00
2017-04-25 09:40:42 -07:00
2017-04-25 09:40:42 -07:00
2016-10-04 11:05:44 -07:00
2016-02-10 15:01:11 +11:00
2016-02-08 11:27:55 +11:00
2016-09-19 10:30:52 +10:00
2016-09-27 21:06:22 -04:00
2017-04-25 09:40:42 -07:00
2016-10-03 09:11:22 -07:00
2016-10-05 16:26:29 -07:00
2017-05-06 11:46:16 -07:00
2017-04-06 16:00:11 -07:00
2016-12-05 12:32:14 +11:00
2013-05-07 18:45:36 -05:00