Re: [PATCH v4 04/12] ext2, dax: define ext2_dax_*() infrastructure in all cases

2018-02-27 Thread Jan Kara
On Mon 26-02-18 20:20:16, Dan Williams wrote: > In preparation for fixing S_DAX to be defined in the CONFIG_FS_DAX=n + > CONFIG_DEV_DAX=y case, move the definition of these routines outside of > the "#ifdef CONFIG_FS_DAX" guard. This is also a coding-style fix to > move all ifdef handling to

[PATCH v4 04/12] ext2, dax: define ext2_dax_*() infrastructure in all cases

2018-02-26 Thread Dan Williams
In preparation for fixing S_DAX to be defined in the CONFIG_FS_DAX=n + CONFIG_DEV_DAX=y case, move the definition of these routines outside of the "#ifdef CONFIG_FS_DAX" guard. This is also a coding-style fix to move all ifdef handling to header files rather than in the source. The compiler will