Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:kernel
reiser4progs
reiser4progs-1.2.1-lz4.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reiser4progs-1.2.1-lz4.patch of Package reiser4progs
diff -Ndurp reiser4progs-1.2.1/include/reiser4/plugin.h reiser4progs-1.2.1-lz4/include/reiser4/plugin.h --- reiser4progs-1.2.1/include/reiser4/plugin.h 2017-11-28 12:50:20.000000000 +0200 +++ reiser4progs-1.2.1-lz4/include/reiser4/plugin.h 2017-12-07 12:02:35.727083677 +0200 @@ -93,7 +93,7 @@ struct reiser4_plug { * NOTE: Make sure that respective marco is also incremented in * the new release of reiser4 kernel module. */ -#define PLUGIN_LIBRARY_VERSION 2 +#define PLUGIN_LIBRARY_VERSION 3 /* Known by library plugin types. */ typedef enum reiser4_plug_type { @@ -265,6 +265,8 @@ enum reiser4_compress_plug_id { COMPRESS_LZO1_ID = 0x0, COMPRESS_GZIP1_ID = 0x1, COMPRESS_ZSTD1_ID = 0x2, + COMPRESS_LZ4_ID = 0x3, + COMPRESS_LZ4HC_ID = 0x4, COMPRESS_LAST_ID }; diff -Ndurp reiser4progs-1.2.1/libreiser4/factory.c reiser4progs-1.2.1-lz4/libreiser4/factory.c --- reiser4progs-1.2.1/libreiser4/factory.c 2017-11-28 12:50:20.000000000 +0200 +++ reiser4progs-1.2.1-lz4/libreiser4/factory.c 2017-12-07 12:03:45.798587883 +0200 @@ -270,6 +270,8 @@ errno_t reiser4_factory_init(void) { __load_plug(lzo1); __load_plug(gzip1); __load_plug(zstd1); + __load_plug(lz4); + __load_plug(lz4hc); __load_plug(nocompress); __load_plug(lattd); diff -Ndurp reiser4progs-1.2.1/plugin/compress/compress.c reiser4progs-1.2.1-lz4/plugin/compress/compress.c --- reiser4progs-1.2.1/plugin/compress/compress.c 2017-11-28 12:50:20.000000000 +0200 +++ reiser4progs-1.2.1-lz4/plugin/compress/compress.c 2017-12-07 12:04:39.534195439 +0200 @@ -30,4 +30,16 @@ reiser4_plug_t zstd1_plug = { .desc = "zstd1 compression transform plugin.", }; +reiser4_plug_t lz4_plug = { + .id = {COMPRESS_LZ4_ID, 0, COMPRESS_PLUG_TYPE}, + .label = "lz4", + .desc = "lz4 compression transform plugin.", +}; + +reiser4_plug_t lz4hc_plug = { + .id = {COMPRESS_LZ4HC_ID, 0, COMPRESS_PLUG_TYPE}, + .label = "lz4hc", + .desc = "lz4hc compression transform plugin.", +}; + #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor