diff options
author | Sahitya Tummala <[email protected]> | 2020-04-15 09:35:54 +0530 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2020-04-17 09:17:00 -0700 |
commit | 3fa6a8c5b55d063c6a759e0b354f9d7fc09ffbc0 (patch) | |
tree | d55cb1cf7d1c9bf321eac927d0aa95e65aa2b119 /net/lapb/lapb_iface.c | |
parent | 141af6ba5216d4d49de683582b600d5c9b51792c (diff) |
f2fs: report the discard cmd errors properly
In case a discard_cmd is split into several bios, the dc->error
must not be overwritten once an error is reported by a bio. Also,
move it under dc->lock.
Signed-off-by: Sahitya Tummala <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions