From: Lennart Poettering Date: Wed, 22 Jan 2025 10:54:50 +0000 (+0100) Subject: xattr-util: use at_flags_normalize_nofollow() at one more place X-Git-Tag: v258-rc1~1532^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0783d8da50bd1efc6cc57d95d4fc2dfbc7a7bc00;p=thirdparty%2Fsystemd.git xattr-util: use at_flags_normalize_nofollow() at one more place --- diff --git a/src/basic/xattr-util.c b/src/basic/xattr-util.c index d2daf87ec91..896d85bf5cc 100644 --- a/src/basic/xattr-util.c +++ b/src/basic/xattr-util.c @@ -175,7 +175,7 @@ int fd_getcrtime_at( * most sense. */ if (statx(fd, strempty(path), - (flags & ~AT_SYMLINK_FOLLOW)|(FLAGS_SET(flags, AT_SYMLINK_FOLLOW) ? 0 : AT_SYMLINK_NOFOLLOW)|AT_STATX_DONT_SYNC, + at_flags_normalize_nofollow(flags)|AT_STATX_DONT_SYNC, STATX_BTIME, &sx) >= 0 && (sx.stx_mask & STATX_BTIME) &&