diff options
author | Jürg Billeter <j@bitron.ch> | 2017-09-29 14:07:17 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-01-26 01:32:55 +0100 |
commit | e1fc742e14e01d84d9693c4aca4ab23da65811fb (patch) | |
tree | 5f6aa92ad10ebd83a667d246b17c8fb4e3cb8f4e /fs/namei.c | |
parent | sctp: use vmemdup_user() rather than badly open-coding memdup_user() (diff) | |
download | linux-e1fc742e14e01d84d9693c4aca4ab23da65811fb.tar.xz linux-e1fc742e14e01d84d9693c4aca4ab23da65811fb.zip |
fs: add RWF_APPEND
This is the per-I/O equivalent of O_APPEND to support atomic append
operations on any open file.
If a file is opened with O_APPEND, pwrite() ignores the offset and
always appends data to the end of the file. RWF_APPEND enables atomic
append and pwrite() with offset on a single file descriptor.
Signed-off-by: Jürg Billeter <j@bitron.ch>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions