git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda10cd
)
fuse: Fix symlink creation (RHBZ#538069).
author
Richard Jones
<rjones@redhat.com>
Tue, 17 Nov 2009 16:59:52 +0000
(16:59 +0000)
committer
Richard Jones
<rjones@redhat.com>
Tue, 17 Nov 2009 17:47:42 +0000
(17:47 +0000)
The parameters were swapped, preventing symlinks from being created.
fuse/guestmount.c
patch
|
blob
|
history
diff --git
a/fuse/guestmount.c
b/fuse/guestmount.c
index
739d8cb
..
ce578c1
100644
(file)
--- a/
fuse/guestmount.c
+++ b/
fuse/guestmount.c
@@
-427,7
+427,7
@@
fg_symlink (const char *from, const char *to)
dir_cache_invalidate (to);
- r = guestfs_ln_s (g,
to, from
);
+ r = guestfs_ln_s (g,
from, to
);
if (r == -1)
return error ();