[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200409073134.GA31376@lst.de>
Date: Thu, 9 Apr 2020 09:31:34 +0200
From: Christoph Hellwig <hch@....de>
To: ira.weiny@...el.com
Cc: linux-kernel@...r.kernel.org, Dave Chinner <dchinner@...hat.com>,
Jan Kara <jack@...e.cz>,
"Darrick J. Wong" <darrick.wong@...cle.com>,
Dan Williams <dan.j.williams@...el.com>,
Dave Chinner <david@...morbit.com>,
Christoph Hellwig <hch@....de>,
"Theodore Y. Ts'o" <tytso@....edu>, Jeff Moyer <jmoyer@...hat.com>,
linux-ext4@...r.kernel.org, linux-xfs@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH V6 2/8] fs: Remove unneeded IS_DAX() check
On Tue, Apr 07, 2020 at 11:29:52AM -0700, ira.weiny@...el.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?
Powered by blists - more mailing lists