From: Lennart Poettering Date: Fri, 8 Nov 2024 08:21:25 +0000 (+0100) Subject: fs-util: add comment about XO_NOCOW X-Git-Tag: v257-rc2~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af3baf174a218cbd54291f0f76d1641c782aad64;p=thirdparty%2Fsystemd.git fs-util: add comment about XO_NOCOW --- diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c index db0a316e6d3..4ede324c34c 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)) {