From 366339d41bc9af9d529f2118e1c971c49089d432 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 17 Nov 2009 16:59:52 +0000 Subject: [PATCH] fuse: Fix symlink creation (RHBZ#538069). The parameters were swapped, preventing symlinks from being created. --- fuse/guestmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 739d8cb..ce578c1 100644 --- 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 (); -- 1.8.3.1