Changeset 5f6cb14 in mainline
- Timestamp:
- 2011-11-26T21:18:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e5f8762
- Parents:
- 14e9272
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/ext4fs/ext4fs_ops.c
r14e9272 r5f6cb14 419 419 ext4fs_node_put(fn); 420 420 return EOK; 421 422 // EXT4FS_DBG("not supported");423 //424 // // TODO425 // return ENOTSUP;426 421 } 427 422 … … 564 559 { 565 560 ext4fs_node_t *enode = EXT4FS_NODE(fn); 566 aoff64_t size = ext4_inode_get_size( enode->instance->filesystem->superblock,567 561 aoff64_t size = ext4_inode_get_size( 562 enode->instance->filesystem->superblock, enode->inode_ref->inode); 568 563 return size; 569 564 } … … 736 731 737 732 738 static int 739 ext4fs_read(service_id_t service_id, fs_index_t index, aoff64_t pos, 740 size_t *rbytes) 733 static int ext4fs_read(service_id_t service_id, fs_index_t index, 734 aoff64_t pos, size_t *rbytes) 741 735 { 742 736 ext4fs_instance_t *inst; … … 963 957 } 964 958 965 static int 966 ext4fs_write(service_id_t service_id, fs_index_t index, aoff64_t pos, 967 size_t *wbytes, aoff64_t *nsize) 959 static int ext4fs_write(service_id_t service_id, fs_index_t index, 960 aoff64_t pos, size_t *wbytes, aoff64_t *nsize) 968 961 { 969 962 int rc; … … 1074 1067 1075 1068 1076 static int 1077 ext4fs_truncate(service_id_t service_id, fs_index_t index,aoff64_t new_size)1069 static int ext4fs_truncate(service_id_t service_id, fs_index_t index, 1070 aoff64_t new_size) 1078 1071 { 1079 1072 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.