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

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2017-09-28 15:51:31
Also in
linux-fsdevel, linux-integrity, lkml
Reply to
Matthew Wilcox, 2017-09-28
On Thu, Sep 28, 2017 at 6:54 AM, Matthew Wilcox [off-list ref] 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.

                     Linus
--
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@ http://vger.kernel.org/majordomo-info.html
Thread (13 messages) 13 messages, 4 authors, last reply 2017-09-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help