diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-11-08 09:21:25 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-11-08 09:21:25 +0100 |
commit | af3baf174a218cbd54291f0f76d1641c782aad64 (patch) | |
tree | 93cb46caadd95256aa7f42d1ec811ceba634cbb7 /src/basic/fs-util.c | |
parent | Fix PrivatePIDs=yes integration test for kernels with no /proc/scsi (diff) | |
download | systemd-af3baf174a218cbd54291f0f76d1641c782aad64.tar.xz systemd-af3baf174a218cbd54291f0f76d1641c782aad64.zip |
fs-util: add comment about XO_NOCOW
Diffstat (limited to '')
-rw-r--r-- | src/basic/fs-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c index db0a316e6d..4ede324c34 100644 --- a/src/basic/fs-util.c +++ b/src/basic/fs-util.c @@ -1131,6 +1131,8 @@ int xopenat_full(int dir_fd, const char *path, int open_flags, XOpenFlags xopen_ * • If O_CREAT is used with XO_LABEL, any created file will be immediately relabelled. * * • If the path is specified NULL or empty, behaves like fd_reopen(). + * + * • If XO_NOCOW is specified will turn on the NOCOW btrfs flag on the file, if available. */ if (isempty(path)) { |