Re: [PATCH V6 2/8] fs: Remove unneeded IS_DAX() check

Christoph Hellwig
2020-04-09T07:31:39Z

On Tue, Apr 07, 2020 at 11:29:52AM -0700, ira.weiny@intel.com wrote:
> static inline bool io_is_direct(struct file *filp)
> {
> - return (filp->f_flags & O_DIRECT) || IS_DAX(filp->f_mapping->host);
> + return (filp->f_flags & O_DIRECT);
> }

As requested last time: Can you please also just remove io_is_direct?