diff options
| author | Manoj Prabhu B <bmanoj@codeaurora.org> | 2018-07-25 15:00:19 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-07-31 23:12:42 -0700 |
| commit | 013254162adc53b12866a9300fdf0a1f0bdb9a0e (patch) | |
| tree | 157895bb99fb3980eb4062aa45cb8266cb224815 /fs/btrfs/dev-replace.c | |
| parent | 414b079b7f4ba955f4679cd87be64199b4e875c7 (diff) | |
diag: Protect md_info structure while reallocation
The possibility of md_info structure being accessed simultaneously
by two threads is prevented by synchronizing while buffer
reallocation for hdlc encoding. Extend the scope of protection to
md_info till queueing the write to sdcard.
CRs-Fixed: 2279473
Change-Id: I75ddb102adfc6c79f35ed69914c9140cb82894c9
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
