Changeset 3d2d455b in mainline


Ignore:
Timestamp:
2024-08-12T20:49:17Z (3 months ago)
Author:
Miroslav Cimerman <mc@…>
Branches:
master
Children:
a3ba37d
Parents:
04e520e
Message:

ata_channel_destroy(): unlock channel mutex after error

File:
1 edited

Legend:

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

    r04e520e r3d2d455b  
    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.