diff options
| author | 2015-11-20 22:18:43 +0100 | |
|---|---|---|
| committer | 2016-01-13 10:24:27 -0700 | |
| commit | ed8a9d2c816e0b0a2c5a605505e0f09ae9010dd6 (patch) | |
| tree | db36fbeeb9480457e126a1e29e26acaf4011f8f4 /include/linux/blkdev.h | |
| parent | block: split bios to max possible length (diff) | |
| download | linux-dev-ed8a9d2c816e0b0a2c5a605505e0f09ae9010dd6.tar.xz linux-dev-ed8a9d2c816e0b0a2c5a605505e0f09ae9010dd6.zip | |
block: use bd{grab,put}() instead of open-coding
- bd_acquire() and bd_forget() open-code bdgrab() and bdput()
- raw driver uses igrab() but never checks its return value and always
holds another ref from bind_set() while calling it, so it's
equivalent to bdgrab()
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
