OSDN Git Service

diag: Modify md_info and diag client map synchronization
authorManoj Prabhu B <bmanoj@codeaurora.org>
Wed, 25 Jul 2018 09:36:11 +0000 (15:06 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 2 Aug 2018 06:26:31 +0000 (23:26 -0700)
commitd0be0bc1353b84a97b21053d4ebd805efd22de96
treec4df31f6baf0c544c9040b51f22170a069f5d781
parenteea1a6272756d3f80ca4abc7b12a2cc82279063d
diag: Modify md_info and diag client map synchronization

Extend the scope of protection to md_info till queueing
the write to sdcard. Patch adds protection to diag client map
synchronizing access by various clients.

CRs-Fixed: 2282558
Change-Id: If076af2d09180a282a9077b4ebcda0184e9f67b5
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
drivers/char/diag/diag_memorydevice.c
drivers/char/diag/diagfwd_peripheral.c