diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-23 19:10:30 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-23 20:49:52 +0200 |
commit | 807d4af2f64ed79fdbb28e582e330be3dbe10d23 (patch) | |
tree | 11ed994bb09f7739c8d746f8d39b82df07aa7740 /fs/dcookies.c | |
parent | block: reject attempts to allocate more than DISK_MAX_PARTS partitions (diff) | |
download | linux-807d4af2f64ed79fdbb28e582e330be3dbe10d23.tar.xz linux-807d4af2f64ed79fdbb28e582e330be3dbe10d23.zip |
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>
Diffstat (limited to 'fs/dcookies.c')
0 files changed, 0 insertions, 0 deletions