fuse: add fuse_should_enable_dax() helper
authorJeffle Xu <jefflexu@linux.alibaba.com>
Thu, 25 Nov 2021 07:05:24 +0000 (15:05 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 14 Dec 2021 10:09:36 +0000 (11:09 +0100)
commitcecd491641c23f3c63958a62efb74cdaf3c93d7b
tree31a5883230fbc0564771b61ef510624e44d82b4d
parente388164ea385f04666c4633f5dc4f951fca71890
fuse: add fuse_should_enable_dax() helper

This is in prep for following per inode DAX checking.

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dax.c