diff options
author | Csaba Henk <csaba.henk@creo.hu> | 2006-03-01 09:40:35 +0000 |
---|---|---|
committer | Csaba Henk <csaba.henk@creo.hu> | 2006-03-01 09:40:35 +0000 |
commit | ee588c01dca3991807aea456a66246ff8ad0c332 (patch) | |
tree | 495e5e37dc07b9049df2650a5866eaf80d7d145d /lib/mount.c | |
parent | aa8258e9fb887d45c0a5754f158015e035ce37bc (diff) |
pass device file descriptor to fuse_unmount
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/mount.c b/lib/mount.c index 0a14df3..a1875f0 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -166,11 +166,18 @@ static int receive_fd(int fd) return *(int*)CMSG_DATA(cmsg); } -void fuse_unmount(const char *mountpoint) +void fuse_unmount_compat22(const char *mountpoint) +{ + fuse_unmount(mountpoint, -1); +} + +void fuse_unmount(const char *mountpoint, int fd) { const char *mountprog = FUSERMOUNT_PROG; int pid; + (void) fd; + if (!mountpoint) return; @@ -293,3 +300,4 @@ int fuse_mount_compat1(const char *mountpoint, const char *args[]) } __asm__(".symver fuse_mount_compat22,fuse_mount@FUSE_2.2"); +__asm__(".symver fuse_unmount_compat22,fuse_unmount@FUSE_2.2"); |