diff options
author | Jonathan Bauer | 2020-05-29 14:56:41 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-05-29 16:07:13 +0200 |
commit | 763847378f6221cae8c910983800b3ca41dccb89 (patch) | |
tree | e1098bb3d3e6ed7828a6725a47605b49f35da9b2 /loop_main.h | |
parent | Initial working state (diff) | |
download | xloop-763847378f6221cae8c910983800b3ca41dccb89.tar.gz xloop-763847378f6221cae8c910983800b3ca41dccb89.tar.xz xloop-763847378f6221cae8c910983800b3ca41dccb89.zip |
Rename to xloop
Diffstat (limited to 'loop_main.h')
-rw-r--r-- | loop_main.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/loop_main.h b/loop_main.h index 324ec2e..eec7ceb 100644 --- a/loop_main.h +++ b/loop_main.h @@ -23,6 +23,10 @@ #include "loop_file_fmt.h" +// See: https://www.kernel.org/doc/Documentation/admin-guide/devices.txt +#define XLOOP_MAJOR 120 +#define XLOOP_CTRL_MINOR 142 + /* Possible states of device */ enum { Lo_unbound, @@ -133,7 +137,7 @@ struct loop_func_table { struct module *owner; }; -int loop_register_transfer(struct loop_func_table *funcs); -int loop_unregister_transfer(int number); +int xloop_register_transfer(struct loop_func_table *funcs); +int xloop_unregister_transfer(int number); #endif |