[PATCH] stop elv_unregister() from rogering other iosched's data, fix locking
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
25975f863b
commit
e17a9489b4
4 changed files with 25 additions and 15 deletions
|
@ -48,6 +48,7 @@ struct elevator_ops
|
|||
|
||||
elevator_init_fn *elevator_init_fn;
|
||||
elevator_exit_fn *elevator_exit_fn;
|
||||
void (*trim)(struct io_context *);
|
||||
};
|
||||
|
||||
#define ELV_NAME_MAX (16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue