Changeset 5930e3f in mainline for uspace/lib/c/generic/vfs/vfs.c


Ignore:
Timestamp:
2013-07-09T06:06:37Z (12 years ago)
Author:
Manuele Conti <conti.ma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
951f32ce
Parents:
11baebb
Message:

Implement size_block function for ext4fs.
Fix typo in libfs VFS_OUT_STATFS operation.
Remove all debug code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/vfs.c

    r11baebb r5930e3f  
    893893}
    894894
    895 #include <stdio.h>
    896895int statfs(const char *path, struct statfs *statfs)
    897896{
     
    904903        if (!pa)
    905904                return ENOMEM;
    906        
    907905        async_exch_t *exch = vfs_exchange_begin();
    908906       
     
    918916                        return (int) rc_orig;
    919917        }
    920         printf("TRACE: send VFS_IN_STATFS\n");
    921         rc = async_data_read_start(exch, statfs, sizeof(struct statfs));
    922         if (rc != EOK) {
    923                 printf("TRACE: error reply\n");
     918        rc = async_data_read_start(exch, (void *) statfs, sizeof(struct statfs));
     919        if (rc != EOK) {
    924920                vfs_exchange_end(exch);
    925921                free(pa);
Note: See TracChangeset for help on using the changeset viewer.