diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-04-30 03:54:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:49 -0400 |
commit | b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa (patch) | |
tree | ab70a4e93c1a512f791c3a0f77810c84e2b81ef1 /fs/fuse/fuse_i.h | |
parent | fa799759f9801137f665dbedda2c0815f1bf6f1b (diff) |
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>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 67aaf6ee38ea..c0481e48d161 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -390,8 +390,8 @@ struct fuse_conn { | |||
390 | /** Entry on the fuse_conn_list */ | 390 | /** Entry on the fuse_conn_list */ |
391 | struct list_head entry; | 391 | struct list_head entry; |
392 | 392 | ||
393 | /** Unique ID */ | 393 | /** Device ID from super block */ |
394 | u64 id; | 394 | dev_t dev; |
395 | 395 | ||
396 | /** Dentries in the control filesystem */ | 396 | /** Dentries in the control filesystem */ |
397 | struct dentry *ctl_dentry[FUSE_CTL_NUM_DENTRIES]; | 397 | struct dentry *ctl_dentry[FUSE_CTL_NUM_DENTRIES]; |