search for: rlc_lookup

Displaying 6 results from an estimated 6 matches for "rlc_lookup".

2009 Nov 09
1
[PATCH libguestfs] avoid "syntax-check" failure
.../guestmount.c b/fuse/guestmount.c index 910ec34..04a6a29 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -339,7 +339,7 @@ fg_access (const char *path, int mask) static int fg_readlink (const char *path, char *buf, size_t size) { - const char *r; + char *r; int free_it = 0; r = rlc_lookup (path); @@ -361,7 +361,7 @@ fg_readlink (const char *path, char *buf, size_t size) buf[len] = '\0'; if (free_it) - free ((char *) r); + free (r); return 0; } -- 1.6.5.2.351.g0943
2012 Mar 28
2
[PATCH v2] New APIs: mount-local and umount-local using FUSE
This version doesn't crash or cause hung processes or stuck mountpoints, so that's an improvement. Rich.
2012 Mar 27
3
[PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
This patch is just for review. It enables FUSE support in the API via two new calls, 'guestfs_mount_local' and 'guestfs_umount_local'. FUSE turns out to be very easy to deadlock (necessitating that the machine be rebooted). Running the test from the third patch is usually an effective way to demonstrate this. However I have not yet managed to produce a simple reproducer that
2012 Mar 29
3
[PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
This changes the proposed API slightly. Previously 'mount-local' generating a 'mounted' event when the filesystem was ready, and from the 'mounted' event you had to effectively do a fork. Now, 'mount-local' just initializes the mountpoint and you have to call 'mount-local-run' to enter the FUSE main loop. Between these calls you can do a fork or whatever
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...- const char *content, size_t size) + const char *content, size_t size) { return write_or_append (g, path, content, size, 1); } diff --git a/src/fuse.c b/src/fuse.c index 1fcc97a..b155e4c 100644 --- a/src/fuse.c +++ b/src/fuse.c @@ -66,24 +66,24 @@ static const char *rlc_lookup (guestfs_h *, const char *pathname); gl_lock_define_initialized (static, mount_local_lock); #define DECL_G() guestfs_h *g = fuse_get_context()->private_data -#define DEBUG_CALL(fs,...) \ - if (g->ml_debug_calls) {...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste. --- align/scan.c | 35 ++++++++++--------- cat/cat.c | 39 +++++++++++---------- cat/filesystems.c | 69 +++++++++++++++++++------------------- cat/log.c | 35 ++++++++++--------- cat/ls.c | 61 +++++++++++++++++---------------- df/main.c | 43 ++++++++++++------------ diff/diff.c | 67