Rev 3530 | Rev 3538 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3530 | Rev 3537 | ||
---|---|---|---|
Line 158... | Line 158... | ||
158 | bool tmpfs_restore(dev_handle_t dev) |
158 | bool tmpfs_restore(dev_handle_t dev) |
159 | { |
159 | { |
160 | libfs_ops_t *ops = &tmpfs_libfs_ops; |
160 | libfs_ops_t *ops = &tmpfs_libfs_ops; |
161 | int rc; |
161 | int rc; |
162 | 162 | ||
163 | rc = block_init(dev, TMPFS_BLOCK_SIZE, 0, 0); |
163 | rc = block_init(dev, TMPFS_BLOCK_SIZE); |
164 | if (rc != EOK) |
164 | if (rc != EOK) |
165 | return false; |
165 | return false; |
166 | 166 | ||
167 | off_t bufpos = 0; |
167 | off_t bufpos = 0; |
168 | size_t buflen = 0; |
168 | size_t buflen = 0; |