aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2015-10-08 10:25:41 +0200
committerTejun Heo <[email protected]>2015-10-12 13:23:13 -0400
commit2aa8f5d63d9183ab185364d4ce849566ede0f301 (patch)
tree75e01ce75cac1abcb883847c18500da83bdef645 /net/unix/af_unix.c
parent25c7ce7f7b511fc02b6eef95595af2cea80e2612 (diff)
libata: only call ->done once all per-tag ressources are released
When calling ->done before releasing resources we could run into a race where the SCSI midlayer sends another command and races with the resources beeing manipulated. For libata this can't currently happen as synchronization happens at a higher level, but I'd still like to fix it to future proof libata and to avoid copy & paste into SCSI drivers where this pattern has led to reproducible crashes. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions