diff options
| author | Miklos Szeredi <[email protected]> | 2008-05-23 13:04:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-05-24 09:56:07 -0700 |
| commit | 03fb0bce01490c9bdedad861962c76f987531014 (patch) | |
| tree | 882f233f910b40042c9ce7f026e373e797647e04 /tools/perf/scripts/python | |
| parent | 42172d751b4596b8ca4346a1c251b5f1c661ab0c (diff) | |
fuse: fix bdi naming conflict
Fuse allocates a separate bdi for each filesystem, and registers them
in sysfs with "MAJOR:MINOR" of sb->s_dev (st_dev). This works fine for
anon devices normally used by fuse, but can conflict with an already
registered BDI for "fuseblk" filesystems, where sb->s_dev represents a
real block device. In particularl this happens if a non-partitioned
device is being mounted.
Fix by registering with a different name for "fuseblk" filesystems.
Thanks to Ioan Ionita for the bug report.
Signed-off-by: Miklos Szeredi <[email protected]>
Reported-by: Ioan Ionita <[email protected]>
Tested-by: Ioan Ionita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions