tree-wide: use cocinnelle to apply _NEG_ macros

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-08-16 12:52:56 +02:00
parent b0be985cdd
commit 13d84288bc
13 changed files with 66 additions and 23 deletions
+1 -1
View File
@@ -1937,7 +1937,7 @@ static int create_directory_or_subvolume(
} else
r = 0;
if (!subvol || (r < 0 && ERRNO_IS_NOT_SUPPORTED(r)))
if (!subvol || ERRNO_IS_NEG_NOT_SUPPORTED(r))
WITH_UMASK(0000)
r = mkdirat_label(pfd, bn, mode);