Changeset 07deef5 in mainline
- Timestamp:
- 2008-03-10T19:57:23Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ad8e49
- Parents:
- 088cecc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_register.c
r088cecc r07deef5 206 206 207 207 futex_down(&fs_head_futex); 208 fibril_inc_sercount(); 208 209 209 210 /* … … 215 216 */ 216 217 dprintf("FS is already registered.\n"); 218 fibril_dec_sercount(); 217 219 futex_up(&fs_head_futex); 218 220 free(fs_info); … … 227 229 dprintf("Inserting FS into the list of registered file systems.\n"); 228 230 list_append(&fs_info->fs_link, &fs_head); 229 231 230 232 /* 231 233 * Now we want the client to send us the IPC_M_CONNECT_TO_ME call so … … 237 239 dprintf("Unexpected call, method = %d\n", IPC_GET_METHOD(call)); 238 240 list_remove(&fs_info->fs_link); 241 fibril_dec_sercount(); 239 242 futex_up(&fs_head_futex); 240 243 free(fs_info); … … 255 258 dprintf("Unexpected call, method = %d\n", IPC_GET_METHOD(call)); 256 259 list_remove(&fs_info->fs_link); 260 fibril_dec_sercount(); 257 261 futex_up(&fs_head_futex); 258 262 ipc_hangup(fs_info->phone); … … 269 273 dprintf("Client suggests wrong size of PFB, size = %d\n", size); 270 274 list_remove(&fs_info->fs_link); 275 fibril_dec_sercount(); 271 276 futex_up(&fs_head_futex); 272 277 ipc_hangup(fs_info->phone); … … 293 298 ipc_answer_1(rid, EOK, (ipcarg_t) fs_info->fs_handle); 294 299 300 fibril_dec_sercount(); 295 301 futex_up(&fs_head_futex); 296 302
Note:
See TracChangeset
for help on using the changeset viewer.