]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: bdi: expose the BDI object in sysfs for FUSE
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 30 Apr 2008 07:54:34 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:49 +0000 (08:29 -0700)
commitb6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa
treeab70a4e93c1a512f791c3a0f77810c84e2b81ef1
parentfa799759f9801137f665dbedda2c0815f1bf6f1b
mm: bdi: expose the BDI object in sysfs for FUSE

Register FUSE's backing_dev_info under sysfs with the name "fuse-MAJOR:MINOR"

Make the fuse control filesystem use s_dev instead of a fuse specific ID.
This makes it easier to match directories under /sys/fs/fuse/connections/ with
directories under /sys/class/bdi, and with actual mounts.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/control.c
fs/fuse/fuse_i.h
fs/fuse/inode.c