chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6389e74
)
util: always override crtime xattr
author
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Dec 2014 16:03:01 +0000
(17:03 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Dec 2014 18:21:58 +0000
(19:21 +0100)
src/shared/util.c
patch
|
blob
|
history
diff --git
a/src/shared/util.c
b/src/shared/util.c
index 52e5df44a9994e759f1061a1eb715543e85d8350..d04d73872e3ad49dfa32edf0798dc8efb470f4e2 100644
(file)
--- 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;