commit | 807d4af2f64ed79fdbb28e582e330be3dbe10d23 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Aug 23 19:10:30 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 23 12:49:52 2017 -0600 |
tree | 11ed994bb09f7739c8d746f8d39b82df07aa7740 | |
parent | de65b0123216a8e1dbe3ca1eb20a45572b9e71d9 [diff] |
block: add a __disk_get_part helper This helper allows looking up a partion under RCU protection without grabbing a reference to it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>