From: Franco B. <fr...@ro...> - 2004-07-02 02:42:36
|
The same thing happened to me when I tried to make a fifo. Miklos, is it safe to make the change below? On Fri, 2004-07-02 at 03:09, Mattias Wadman wrote: > Hello > > I was poking around with fuse developing a tmpfs like thing for fun when i tried "mknod test p" and the system hanged. This patch fixes the quite obvious error ;). > > Have not tested on 2.6 but by looking at the code it seams to be correct. > > Is is meaningful for fuse filesystems to be able to create pipes anyway? > > Index: dir.c > =================================================================== > RCS file: /cvsroot/avf/fuse/kernel/dir.c,v > retrieving revision 1.36 > diff -u -r1.36 dir.c > --- dir.c 22 Jun 2004 18:46:02 -0000 1.36 > +++ dir.c 1 Jul 2004 18:59:57 -0000 > @@ -847,7 +847,7 @@ > static int fuse_mknod(struct inode *dir, struct dentry *entry, int mode, > int rdev) > { > - return fuse_mknod(dir, entry, mode, rdev); > + return _fuse_mknod(dir, entry, mode, rdev); > } > > static int fuse_dentry_revalidate(struct dentry *entry, int flags) > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Avf-fuse-dev mailing list > Avf...@li... > https://lists.sourceforge.net/lists/listinfo/avf-fuse-dev |