diff options
author | Jürg Billeter <j@bitron.ch> | 2017-09-29 15:07:17 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-01-26 03:32:55 +0300 |
commit | e1fc742e14e01d84d9693c4aca4ab23da65811fb (patch) | |
tree | 5f6aa92ad10ebd83a667d246b17c8fb4e3cb8f4e /fs/namei.c | |
parent | c981f254cc82f50f8cb864ce6432097b23195b9c (diff) | |
download | linux-e1fc742e14e01d84d9693c4aca4ab23da65811fb.tar.xz |
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