From 763847378f6221cae8c910983800b3ca41dccb89 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 29 May 2020 14:56:41 +0200 Subject: Rename to xloop --- loop_main.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'loop_main.h') 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 -- cgit v1.2.3-55-g7522