summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-26 17:03:01 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-26 19:21:58 +0100
commit2c39ea529b35383022946a07eeecd6711bcd2684 (patch)
treee8b6b4180f55d0410cf3694af0cd4e5a4e5c01c8 /src/shared
parent6389e747d5b09b18e00d85b9b13c1be2ff884015 (diff)
util: always override crtime xattr
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 52e5df44a9..d04d73872e 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -7645,7 +7645,7 @@ int fd_setcrtime(int fd, usec_t usec) {
assert(fd >= 0);
le = htole64((uint64_t) usec);
- if (fsetxattr(fd, "user.crtime_usec", &le, sizeof(le), XATTR_CREATE) < 0)
+ if (fsetxattr(fd, "user.crtime_usec", &le, sizeof(le), 0) < 0)
return -errno;
return 0;