Subversion Repositories HelenOS

Rev

Rev 4278 | Rev 4509 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4278 Rev 4463
Line 276... Line 276...
276
    fibril_dec_sercount();
276
    fibril_dec_sercount();
277
    futex_up(&fs_head_futex);
277
    futex_up(&fs_head_futex);
278
   
278
   
279
    dprintf("\"%.*s\" filesystem successfully registered, handle=%d.\n",
279
    dprintf("\"%.*s\" filesystem successfully registered, handle=%d.\n",
280
        FS_NAME_MAXLEN, fs_info->vfs_info.name, fs_info->fs_handle);
280
        FS_NAME_MAXLEN, fs_info->vfs_info.name, fs_info->fs_handle);
281
   
-
 
282
    /* Process pending mount requests possibly waiting
-
 
283
     * for this filesystem implementation.
-
 
284
     */
-
 
285
    vfs_process_pending_mount();
-
 
286
}
281
}
287
 
282
 
288
/** For a given file system handle, implement policy for allocating a phone.
283
/** For a given file system handle, implement policy for allocating a phone.
289
 *
284
 *
290
 * @param handle    File system handle.
285
 * @param handle    File system handle.
Line 318... Line 313...
318
            /*
313
            /*
319
             * Avoid deadlock with other fibrils in the same thread
314
             * Avoid deadlock with other fibrils in the same thread
320
             * by disabling fibril preemption.
315
             * by disabling fibril preemption.
321
             */
316
             */
322
            fibril_inc_sercount();
317
            fibril_inc_sercount();
323
            return fs->phone;
318
            return fs->phone;
324
        }
319
        }
325
    }
320
    }
326
    futex_up(&fs_head_futex);
321
    futex_up(&fs_head_futex);
327
    return 0;
322
    return 0;
328
}
323
}