diff options
author | Anand Khoje <anand.a.khoje@oracle.com> | 2021-07-12 17:56:24 +0530 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-07-16 10:57:28 -0300 |
commit | 36721a6d4cf2a39f411e3ac04d5771d1ffef9d23 (patch) | |
tree | 023641c3af6edd1f8a1344ebdc02622a5d6e5831 /fs/coredump.c | |
parent | 0bc0602ae8275aadc7288692331589350987cef7 (diff) |
IB/core: Shifting initialization of device->cache_lock
The lock cache_lock of struct ib_device is initialized in function
ib_cache_setup_one(). This is much later than the device initialization in
_ib_alloc_device().
This change shifts initialization of cache_lock in _ib_alloc_device().
Link: https://lore.kernel.org/r/20210712122625.1147-3-anand.a.khoje@oracle.com
Suggested-by: Haakon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Anand Khoje <anand.a.khoje@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions