Changeset a3ba37d in mainline


Ignore:
Timestamp:
2024-08-20T10:39:55Z (4 months ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
bff8619
Parents:
53bff11 (diff), 3d2d455b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Vojtech Horky <vojtech.horky@…> (2024-08-20 10:39:55)
git-committer:
GitHub <noreply@…> (2024-08-20 10:39:55)
Message:

ata_channel_destroy(): unlock channel mutex after error

See pull request HelenOS/helenos#236.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ata/src/ata.c

    r53bff11 ra3ba37d  
    260260                if (rc != EOK) {
    261261                        ata_msg_error(chan, "Unable to remove device %d.", i);
    262                         return rc;
     262                        break;
    263263                }
    264264        }
     
    267267        fibril_mutex_unlock(&chan->lock);
    268268
    269         return EOK;
     269        return rc;
    270270}
    271271
Note: See TracChangeset for help on using the changeset viewer.