diff options
author | Dan Williams <[email protected]> | 2017-09-03 10:17:53 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2017-09-03 10:17:53 -0700 |
commit | 26f2f4de0bd93cbe891e11307d9e4906253bfda8 (patch) | |
tree | e9a497fb89f33ae8733dd5f517212e9fcfcb84b0 /lib/memory-notifier-error-inject.c | |
parent | 8f98ae0c9b90bb46097e4f28e81e9ae6148e5694 (diff) |
dax: fix FS_DAX=n BLOCK=y compilation
The 0day kbuild robot reports:
>> drivers//dax/super.c:64:20: error: redefinition of 'fs_dax_get_by_bdev'
struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev)
^~~~~~~~~~~~~~~~~~
In file included from drivers//dax/super.c:22:0:
include/linux/dax.h:76:34: note: previous definition of 'fs_dax_get_by_bdev' was here
static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev)
^~~~~~~~~~~~~~~~~~
Protect the definition of fs_dax_get_by_bdev() in drivers/dax/super.c
with an ifdef.
Fixes: 78f354735081 ("dax: introduce a fs_dax_get_by_bdev() helper")
Cc: Christoph Hellwig <[email protected]>
Cc: Darrick J. Wong <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reported-by: kbuild test robot <[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