On Mon, Jun 29, 2020 at 02:23:48PM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx> > > Convert wait_for_completion boolean to flags so we can pass more flags > to iomap_dio_rw() > --- a/fs/iomap/direct-io.c > +++ b/fs/iomap/direct-io.c > @@ -405,7 +405,7 @@ iomap_dio_actor(struct inode *inode, loff_t pos, loff_t length, > ssize_t > iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, > const struct iomap_ops *ops, const struct iomap_dio_ops *dops, > - bool wait_for_completion) > + int dio_flags) I think flags should be an unsigned type as it's for bitwise operations.