diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-23 09:33:59 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-08-23 10:01:16 +0200 |
commit | ee28b42006c37aaeb68c83300fe5608db662082f (patch) | |
tree | 49c4d2b61e35efb59e6e85a4b2431bfd4f511e4b /drivers/idle | |
parent | 37b143d12b5f099bb4375162303ff1df1692cc5e (diff) | |
download | linux-ee28b42006c37aaeb68c83300fe5608db662082f.tar.bz2 |
mtd_blkdevs: simplify the refcounting in blktrans_{open, release}
Always grab a reference to the mtd_blktrans_dev in ->open instead of
just on the first open, and do away with the additional temporary
references in ->open and ->release.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210823073359.705281-9-hch@lst.de
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions