[RFC PATCH] add filesystem subtype support

2007-02-12 Thread Miklos Szeredi
There's a slight problem with filesystem type representation in fuse based filesystems. From the kernel's view, there are just two filesystem types: fuse and fuseblk. From the user's view there are lots of different filesystem types. The user is not even much concerned if the filesystem is fuse

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Szakacsits Szabolcs
Hi, On Mon, 12 Feb 2007, Miklos Szeredi wrote: There's a slight problem with filesystem type representation in fuse based filesystems. From the kernel's view, there are just two filesystem types: fuse and fuseblk. From the user's view there are lots of different filesystem types. The

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Miklos Szeredi
There's a slight problem with filesystem type representation in fuse based filesystems. From the kernel's view, there are just two filesystem types: fuse and fuseblk. From the user's view there are lots of different filesystem types. The user is not even much concerned if the

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Jan Engelhardt
Hi, On Feb 12 2007 12:50, Miklos Szeredi wrote: Index: linux/fs/filesystems.c === --- linux.orig/fs/filesystems.c2007-02-12 12:42:55.0 +0100 +++ linux/fs/filesystems.c 2007-02-12 12:43:00.0 +0100 @@ -42,11

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Miklos Szeredi
-static struct file_system_type **find_filesystem(const char *name) +static struct file_system_type **find_filesystem(const char *name, unsigned len) { struct file_system_type **p; for (p=file_systems; *p; p=(*p)-next) -if (strcmp((*p)-name,name) == 0) +