projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b6959b5
)
[PATCH] Defer engine ops verification check
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 14 Feb 2007 22:49:58 +0000
(23:49 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 14 Feb 2007 22:49:58 +0000
(23:49 +0100)
Just register the engine to avoid complicating the code, but
don't allow it to be loaded.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ioengines.c
patch
|
blob
|
blame
|
history
diff --git
a/ioengines.c
b/ioengines.c
index 1666612a9bf6dbe121e1c8a87c682e61786af228..2ed274988aa43f36474ed63f547cd042d02cf1f5 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-57,9
+57,6
@@
void unregister_ioengine(struct ioengine_ops *ops)
int register_ioengine(struct ioengine_ops *ops)
{
int register_ioengine(struct ioengine_ops *ops)
{
- if (check_engine_ops(ops))
- return 1;
-
INIT_LIST_HEAD(&ops->list);
list_add_tail(&ops->list, &engine_list);
return 0;
INIT_LIST_HEAD(&ops->list);
list_add_tail(&ops->list, &engine_list);
return 0;