block: introduce bdev_file_inode()
authorDan Williams <dan.j.williams@intel.com>
Tue, 27 Oct 2015 22:48:19 +0000 (07:48 +0900)
committerDan Williams <dan.j.williams@intel.com>
Sat, 9 Jan 2016 14:30:49 +0000 (06:30 -0800)
commit4ebb16ca9a06a54cdb2e7f2ce1e506fa4d432445
tree02bce9006ac8081facbb2ec5587317abf7fed7b7
parent90a545e981267e917b9d698ce07affd69787db87
block: introduce bdev_file_inode()

Similar to the file_inode() helper, provide a helper to lookup the inode for a
raw block device itself.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/block_dev.c