From: Miklos Szeredi Uniformly use MAJOR:MINOR in /sys/class/bdi/ for both block devices and non-block device backed filesystems: FUSE and NFS. Add symlink for block devices: /sys/block//bdi -> /sys/class/bdi/ Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton --- Documentation/ABI/testing/sysfs-class-bdi | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff -puN Documentation/ABI/testing/sysfs-class-bdi~mm-bdi-export-bdi-attributes-in-sysfs-fix-3 Documentation/ABI/testing/sysfs-class-bdi --- a/Documentation/ABI/testing/sysfs-class-bdi~mm-bdi-export-bdi-attributes-in-sysfs-fix-3 +++ a/Documentation/ABI/testing/sysfs-class-bdi @@ -6,17 +6,13 @@ Description: Provide a place in sysfs for the backing_dev_info object. This allows us to see and set the various BDI specific variables. -The identifyer can take the following forms: +The identifier can be either of the following: -blk-NAME +MAJOR:MINOR - Block devices, NAME is 'sda', 'loop0', etc... - -FSTYPE-MAJOR:MINOR - - Non-block device backed filesystems which provide their own - BDI, such as NFS and FUSE. MAJOR:MINOR is the value of st_dev - for files on this filesystem. + Device number for block devices, or value of st_dev on + non-block filesystems which provide their own BDI, such as NFS + and FUSE. default _