]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fuse: add control filesystem
authorMiklos Szeredi <miklos@szeredi.hu>
Sun, 25 Jun 2006 12:48:51 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:19 +0000 (10:01 -0700)
commit0213eb3822d4967b1946c3663f94f66312860433
tree9b758c424fcda2d263c71f25358bb65a0abc15d4
parentf478120d2a4252a676e71c28c85f97e06dca0d3e
[PATCH] fuse: add control filesystem

Add a control filesystem to fuse, replacing the attributes currently exported
through sysfs.  An empty directory '/sys/fs/fuse/connections' is still created
in sysfs, and mounting the control filesystem here provides backward
compatibility.

Advantages of the control filesystem over the previous solution:

  - allows the object directory and the attributes to be owned by the
    filesystem owner, hence letting unpriviled users abort the
    filesystem connection

  - does not suffer from module unload race

[akpm@osdl.org: fix this fs for recent dhowells depredations]
[akpm@osdl.org: fix 64-bit printk warnings]
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/filesystems/fuse.txt
fs/fuse/Makefile
fs/fuse/control.c [new file with mode: 0644]
fs/fuse/dev.c
fs/fuse/fuse_i.h
fs/fuse/inode.c