diff options
| author | Jason Gunthorpe <[email protected]> | 2021-08-06 01:19:03 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-08-11 15:50:11 +0000 |
| commit | ab7e5e34a9f661f5649f48d4531c4a75713ff7cf (patch) | |
| tree | b894176e74ab550ba7048b0350f5d4203cdfbd8c /fs/ext4/fast_commit.c | |
| parent | vfio/fsl: Move to the device set infrastructure (diff) | |
| download | kernel-ab7e5e34a9f661f5649f48d4531c4a75713ff7cf.tar.gz kernel-ab7e5e34a9f661f5649f48d4531c4a75713ff7cf.zip | |
vfio/platform: Use open_device() instead of open coding a refcnt scheme
Platform simply wants to run some code when the device is first
opened/last closed. Use the core framework and locking for this. Aside
from removing a bit of code this narrows the locking scope from a global
lock.
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
