Skip to content
Commit e1fc742e authored by Jürg Billeter's avatar Jürg Billeter Committed by Al Viro
Browse files

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: default avatarJürg Billeter <j@bitron.ch>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c981f254
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment