Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-29 Thread Martin Pieuchot
On 28/11/17(Tue) 17:40, Otto Moerbeek wrote: > On Tue, Nov 28, 2017 at 10:59:07PM +0800, Helg wrote: > > One small comment from me: > > > /* already open i think all is ok */ > > if (ip->fufh[fufh_type].fh_type != FUFH_INVALID) > > return (0); > > > > + /* > > +* The

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-28 Thread Otto Moerbeek
On Tue, Nov 28, 2017 at 10:59:07PM +0800, Helg wrote: One small comment from me: > /* already open i think all is ok */ > if (ip->fufh[fufh_type].fh_type != FUFH_INVALID) > return (0); > > + /* > + * The file has already been created and/or truncated so FUSE

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-28 Thread Helg
> Date: Sat, 18 Nov 2017 11:03:49 +0100 > > > From: Martin Pieuchot <m...@openbsd.org> > > > To: Helg Bredow <xx...@msn.com> > > > CC: "tech@openbsd.org" <tech@openbsd.org> > > > Subject: Re: fuse: vfs create does not map 1:1 to fu

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-27 Thread Martin Pieuchot
openbsd.org> > > To: Helg Bredow <xx...@msn.com> > > CC: "tech@openbsd.org" <tech@openbsd.org> > > Subject: Re: fuse: vfs create does not map 1:1 to fuse create > > User-Agent: Mutt/1.9.1 (2017-09-22) > > > > On 18/11/17(Sat) 02:22, Helg Bred

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-23 Thread Helg
"tech@openbsd.org" <tech@openbsd.org> > Subject: Re: fuse: vfs create does not map 1:1 to fuse create > User-Agent: Mutt/1.9.1 (2017-09-22) > > On 18/11/17(Sat) 02:22, Helg Bredow wrote: > > On Fri, 10 Nov 2017 09:09:32 +0100 > > Martin Pieuchot &l

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-18 Thread Otto Moerbeek
On Sat, Nov 18, 2017 at 02:22:43AM +, Helg Bredow wrote: > On Fri, 10 Nov 2017 09:09:32 +0100 > Martin Pieuchot wrote: > > > On 09/11/17(Thu) 01:20, Helg Bredow wrote: > > > > On 08/11/17(Wed) 14:12, Helg Bredow wrote: > > > > > There is a bug when creating a file in

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-18 Thread Martin Pieuchot
On 18/11/17(Sat) 02:22, Helg Bredow wrote: > On Fri, 10 Nov 2017 09:09:32 +0100 > Martin Pieuchot wrote: > > > On 09/11/17(Thu) 01:20, Helg Bredow wrote: > > > > On 08/11/17(Wed) 14:12, Helg Bredow wrote: > > > > > There is a bug when creating a file in fuse-exfat and then

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-17 Thread Helg Bredow
On Fri, 10 Nov 2017 09:09:32 +0100 Martin Pieuchot wrote: > On 09/11/17(Thu) 01:20, Helg Bredow wrote: > > > On 08/11/17(Wed) 14:12, Helg Bredow wrote: > > > > There is a bug when creating a file in fuse-exfat and then deleting it > > > > again without first unmounting the file

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-10 Thread Martin Pieuchot
On 09/11/17(Thu) 01:20, Helg Bredow wrote: > > On 08/11/17(Wed) 14:12, Helg Bredow wrote: > > > There is a bug when creating a file in fuse-exfat and then deleting it > > > again without first unmounting the file system. The reason for this is > > > that fuse-exfat maintains strict reference

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-08 Thread Helg Bredow
On Wed, 8 Nov 2017 16:50:07 +0100 Martin Pieuchot wrote: > On 08/11/17(Wed) 14:12, Helg Bredow wrote: > > There is a bug when creating a file in fuse-exfat and then deleting it > > again without first unmounting the file system. The reason for this is > > that fuse-exfat

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-08 Thread Martin Pieuchot
On 08/11/17(Wed) 14:12, Helg Bredow wrote: > There is a bug when creating a file in fuse-exfat and then deleting it > again without first unmounting the file system. The reason for this is > that fuse-exfat maintains strict reference counts and fuse currently > calls the file system create and

fuse: vfs create does not map 1:1 to fuse create

2017-11-08 Thread Helg Bredow
There is a bug when creating a file in fuse-exfat and then deleting it again without first unmounting the file system. The reason for this is that fuse-exfat maintains strict reference counts and fuse currently calls the file system create and open functions when it should only call create. The