summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2017-07-16 17:24:34 +0200
committerJavier <dev.git@javispedro.com>2017-07-16 17:24:34 +0200
commit54e7d8476ca3b41cbb38226e58241e1920ad357a (patch)
tree0cb38942404ac0d8b3529f7c93958065edc1a4f8 /src
parent48cf22d3af28386ad853c30d3e389570e3cdca6e (diff)
downloadvolumefs-54e7d8476ca3b41cbb38226e58241e1920ad357a.tar.gz
volumefs-54e7d8476ca3b41cbb38226e58241e1920ad357a.zip
rename to volumefs/userfs and add systemd unit files
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am14
-rw-r--r--src/userfs.c (renamed from src/usersfs.c)0
-rw-r--r--src/volumefs.c (renamed from src/volumesfs.c)2
3 files changed, 8 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index de90afd..801f704 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,9 +1,9 @@
-sbin_PROGRAMS = volumesfs usersfs
+sbin_PROGRAMS = volumefs userfs
-volumesfs_SOURCES = volumesfs.c
-volumesfs_CPPFLAGS = $(FUSE_CFLAGS) $(UDISKS2_CFLAGS)
-volumesfs_LDADD = $(FUSE_LIBS) $(UDISKS2_LIBS)
+volumefs_SOURCES = volumefs.c
+volumefs_CPPFLAGS = $(FUSE_CFLAGS) $(UDISKS2_CFLAGS)
+volumefs_LDADD = $(FUSE_LIBS) $(UDISKS2_LIBS)
-usersfs_SOURCES = usersfs.c
-usersfs_CPPFLAGS = $(FUSE_CFLAGS)
-usersfs_LDADD = $(FUSE_LIBS)
+userfs_SOURCES = userfs.c
+userfs_CPPFLAGS = $(FUSE_CFLAGS)
+userfs_LDADD = $(FUSE_LIBS)
diff --git a/src/usersfs.c b/src/userfs.c
index bb76ed1..bb76ed1 100644
--- a/src/usersfs.c
+++ b/src/userfs.c
diff --git a/src/volumesfs.c b/src/volumefs.c
index acf991b..bc36ba3 100644
--- a/src/volumesfs.c
+++ b/src/volumefs.c
@@ -93,7 +93,7 @@ static void volumesfs_destroy(void *user_data)
g_object_unref(client);
g_hash_table_destroy(mounts);
- g_object_unref(main_loop);
+ g_main_loop_unref(main_loop);
}
static int volumesfs_getattr(const char *path, struct stat *stbuf)