[RFC PATCH 1/3] fs: define new read_iter rwf flag

Linus Torvalds torvalds at linux-foundation.org
Thu Sep 28 15:51:30 UTC 2017

On Thu, Sep 28, 2017 at 6:54 AM, Matthew Wilcox <willy at infradead.org> wrote:
> I don't like adding a bool parameter everywhere.  Why not add a flag
> to the kiocb ki_flags?
> #define IOCB_RWSEM_HELD         (1 << 8)

Yeah, I think that would be a nicer approach, with filesystems that
don't care being able to just ignore it entirely.

To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the Linux-security-module-archive mailing list