fs-util: add comment about XO_NOCOW

This commit is contained in:
Lennart Poettering
2024-11-08 09:21:25 +01:00
parent d8091e1281
commit af3baf174a
+2
View File
@@ -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)) {