summaryrefslogtreecommitdiffstats
path: root/src/basic/fs-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-11-08 09:21:25 +0100
committerLennart Poettering <lennart@poettering.net>2024-11-08 09:21:25 +0100
commitaf3baf174a218cbd54291f0f76d1641c782aad64 (patch)
tree93cb46caadd95256aa7f42d1ec811ceba634cbb7 /src/basic/fs-util.c
parentFix PrivatePIDs=yes integration test for kernels with no /proc/scsi (diff)
downloadsystemd-af3baf174a218cbd54291f0f76d1641c782aad64.tar.xz
systemd-af3baf174a218cbd54291f0f76d1641c782aad64.zip
fs-util: add comment about XO_NOCOW
Diffstat (limited to '')
-rw-r--r--src/basic/fs-util.c2
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)) {