Hi,
Here's a diff that's been in my tree for quite some time, getting
polished back and forth. I think I'm quite satisfied as is now, and
would like to get opinions and/or OK's to commit it.
This diff gives rmt the following abilities:
- limit the (remote) file operations to a specific directory
On Sun, May 18, 2014 at 20:16, Helg wrote:
> This patch forces fuse to mount a client filesystem using the realpath
> when a relative path is specified for the mount point. Without this, to
> unmount a filesystem you need to change directory to the same folder
> you where in when you mounted it.
>
Hi
current kernel without patch:
5:0:0: Atheros unknown
0x: Vendor ID: 168c Product ID: ff1c
0x0004: Command: Status: 0010
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 01
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size:
00
This patch forces fuse to mount a client filesystem using the realpath
when a relative path is specified for the mount point. Without this, to
unmount a filesystem you need to change directory to the same folder
you where in when you mounted it.
--
Helg
Index: fuse.c
=
> Hi all,
>
> * No need to check for NULL before free.
> * No need to cast the return value of the allocation functions.
> * Do not use malloc() + memset(), simply use calloc()
>
> Tested against the regression tests for pqueue.
>
> ok?
Applied. Thanks!