commit | fe62c3a4e17ddfe672710425ab6eba2ba7203526 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed Mar 27 14:15:16 2019 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Sep 05 14:34:22 2019 -0400 |
tree | 4b8bfb4bbfbeb53c75b14f4522233ed3216749aa | |
parent | 533770cc0ae84890624dc129609f3d75855c8982 [diff] |
vfs: Create fs_context-aware mount_bdev() replacement Create a function, get_tree_bdev(), that is fs_context-aware and a ->get_tree() counterpart of mount_bdev(). It caches the block device pointer in the fs_context struct so that this information can be passed into sget_fc()'s test and set functions. Signed-off-by: David Howells <dhowells@redhat.com> cc: Jens Axboe <axboe@kernel.dk> cc: linux-block@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>