Changeset fc22069 in mainline for uspace/srv/fs


Ignore:
Timestamp:
2015-08-22T05:12:30Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
78bb04b
Parents:
d9e68d0
Message:

block devices use the same interface, therefore the API of libblock should not expose the implementation details

Location:
uspace/srv/fs
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/cdfs/cdfs_ops.c

    rd9e68d0 rfc22069  
    10251025{
    10261026        /* Initialize the block layer */
    1027         int rc = block_init(EXCHANGE_SERIALIZE, service_id, BLOCK_SIZE);
     1027        int rc = block_init(service_id, BLOCK_SIZE);
    10281028        if (rc != EOK)
    10291029                return rc;
  • uspace/srv/fs/exfat/exfat_ops.c

    rd9e68d0 rfc22069  
    10671067
    10681068        /* initialize libblock */
    1069         rc = block_init(EXCHANGE_SERIALIZE, service_id, BS_SIZE);
     1069        rc = block_init(service_id, BS_SIZE);
    10701070        if (rc != EOK)
    10711071                return rc;
  • uspace/srv/fs/fat/fat_ops.c

    rd9e68d0 rfc22069  
    939939
    940940        /* initialize libblock */
    941         rc = block_init(EXCHANGE_SERIALIZE, service_id, BS_SIZE);
     941        rc = block_init(service_id, BS_SIZE);
    942942        if (rc != EOK) {
    943943                free(instance);
  • uspace/srv/fs/mfs/mfs_ops.c

    rd9e68d0 rfc22069  
    161161
    162162        /* initialize libblock */
    163         rc = block_init(EXCHANGE_SERIALIZE, service_id, 4096);
     163        rc = block_init(service_id, 4096);
    164164        if (rc != EOK)
    165165                return rc;
  • uspace/srv/fs/tmpfs/tmpfs_dump.c

    rd9e68d0 rfc22069  
    169169        int rc;
    170170
    171         rc = block_init(EXCHANGE_SERIALIZE, dsid, TMPFS_COMM_SIZE);
     171        rc = block_init(dsid, TMPFS_COMM_SIZE);
    172172        if (rc != EOK)
    173173                return false;
  • uspace/srv/fs/udf/udf_ops.c

    rd9e68d0 rfc22069  
    325325       
    326326        /* initialize block cache */
    327         int rc = block_init(EXCHANGE_SERIALIZE, service_id, MAX_SIZE);
     327        int rc = block_init(service_id, MAX_SIZE);
    328328        if (rc != EOK)
    329329                return rc;
Note: See TracChangeset for help on using the changeset viewer.