Changeset 50b581d in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2012-04-21T09:23:39Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d3a8e47
Parents:
0d520a2
Message:

Replace the async_wait_for(msg, NULL) pattern in the error paths with
async_forget(msg).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.c

    r0d520a2 r50b581d  
    320320        if (rc != EOK) {
    321321                async_exchange_end(exch);
    322                 async_wait_for(req, NULL);
     322                async_forget(req);
    323323                return rc;
    324324        }
     
    341341        if (reg.plb_ro == (void *) -1) {
    342342                async_exchange_end(exch);
    343                 async_wait_for(req, NULL);
     343                async_forget(req);
    344344                return ENOMEM;
    345345        }
     
    348348       
    349349        if (rc) {
    350                 async_wait_for(req, NULL);
     350                async_forget(req);
    351351                return rc;
    352352        }
Note: See TracChangeset for help on using the changeset viewer.