diff options
author | Jarod Wilson <jarod@redhat.com> | 2015-05-06 12:26:22 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-20 09:05:42 -0600 |
commit | be32417796c2b8a83fe4cbece83bea96ab9e378f (patch) | |
tree | 41f52269686b58d2be1190ffbf72b0816993495a /crypto/krng.c | |
parent | 343df3c79c62b644ce6ff5dff96c9e0be1ecb242 (diff) | |
download | op-kernel-dev-be32417796c2b8a83fe4cbece83bea96ab9e378f.zip op-kernel-dev-be32417796c2b8a83fe4cbece83bea96ab9e378f.tar.gz |
block: export blkdev_reread_part() and __blkdev_reread_part()
This patch exports blkdev_reread_part() for block drivers, also
introduce __blkdev_reread_part().
For some drivers, such as loop, reread of partitions can be run
from the release path, and bd_mutex may already be held prior to
calling ioctl_by_bdev(bdev, BLKRRPART, 0), so introduce
__blkdev_reread_part for use in such cases.
CC: Christoph Hellwig <hch@lst.de>
CC: Jens Axboe <axboe@kernel.dk>
CC: Tejun Heo <tj@kernel.org>
CC: Alexander Viro <viro@zeniv.linux.org.uk>
CC: Markus Pargmann <mpa@pengutronix.de>
CC: Stefan Weinhuber <wein@de.ibm.com>
CC: Stefan Haberland <stefan.haberland@de.ibm.com>
CC: Sebastian Ott <sebott@linux.vnet.ibm.com>
CC: Fabian Frederick <fabf@skynet.be>
CC: Ming Lei <ming.lei@canonical.com>
CC: David Herrmann <dh.herrmann@gmail.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Peter Zijlstra <peterz@infradead.org>
CC: nbd-general@lists.sourceforge.net
CC: linux-s390@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/krng.c')
0 files changed, 0 insertions, 0 deletions