projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e1209
)
Btrfs-progs: allow to receive to relative directories
author
Stefan Behrens
<sbehrens@giantdisaster.de>
Tue, 9 Apr 2013 17:08:44 +0000
(19:08 +0200)
committer
David Sterba
<dsterba@suse.cz>
Tue, 23 Apr 2013 16:56:25 +0000
(18:56 +0200)
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
cmds-receive.c
patch
|
blob
|
history
diff --git
a/cmds-receive.c
b/cmds-receive.c
index
1cf0da2
..
937db1c
100644
(file)
--- a/
cmds-receive.c
+++ b/
cmds-receive.c
@@
-756,7
+756,7
@@
static int process_utimes(const char *path, struct timespec *at,
tv[0] = *at;
tv[1] = *mt;
- ret = utimensat(
-1
, full_path, tv, AT_SYMLINK_NOFOLLOW);
+ ret = utimensat(
AT_FDCWD
, full_path, tv, AT_SYMLINK_NOFOLLOW);
if (ret < 0) {
ret = -errno;
fprintf(stderr, "ERROR: utimes %s failed. %s\n",