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

From: Christoph Hellwig
Date: Thu Apr 09 2020 - 03:31:40 EST


On Tue, Apr 07, 2020 at 11:29:52AM -0700, ira.weiny@xxxxxxxxx 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?