aboutsummaryrefslogtreecommitdiff
path: root/include/linux/uart
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-07 19:14:29 +0100
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:57 +0200
commit1548d6d880fbcc83d57825b6357f7fa0be8148f8 (patch)
tree48ab9e2d64b33e52ec28bdf1016496aa85b6be9c /include/linux/uart
parent420f298f0f39260964c11bee74aa980d1b4d2175 (diff)
splice: introduce FMODE_SPLICE_READ and FMODE_SPLICE_WRITE
Introduce FMODE_SPLICE_READ and FMODE_SPLICE_WRITE. These modes check whether it is legal to read or write a file using splice. Both get automatically set on regular files and are not checked when a 'struct fileoperations' includes the splice_{read,write} methods. Change-Id: Ice6a3fab20bf0ac131f8d908f4bb0f7dc34bf4e3 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'include/linux/uart')
0 files changed, 0 insertions, 0 deletions