mm: bdi: expose the BDI object in sysfs for NFS
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 30 Apr 2008 07:54:33 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:49 +0000 (08:29 -0700)
commitfa799759f9801137f665dbedda2c0815f1bf6f1b
treec921e2bcda0e2aa094aec1c3bbf4f89b319d4855
parentcf0ca9fe5dd9e3693d935757a7b2fc50fc576554
mm: bdi: expose the BDI object in sysfs for NFS

Register NFS' backing_dev_info under sysfs with the name "nfs-MAJOR:MINOR"

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/super.c