fs: deduplicate noop_backing_dev_info
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2015 09:42:30 +0000 (10:42 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 20 Jan 2015 21:02:54 +0000 (14:02 -0700)
commita7a2c680a2ad81b3181a335ee76e23d5195007ee
tree6755c100ab14f95ab78eba709f2de737b16e3d02
parentec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc
fs: deduplicate noop_backing_dev_info

hugetlbfs, kernfs and dlmfs can simply use noop_backing_dev_info instead
of creating a local duplicate.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/hugetlbfs/inode.c
fs/kernfs/inode.c
fs/kernfs/kernfs-internal.h
fs/kernfs/mount.c
fs/ocfs2/dlmfs/dlmfs.c