btrfs-progs: props: init compression prop_handlers with field name
PATCH 1/1 btrfs-progs: props: init compression prop_handlers with field name
Compression prop_handler is initialized without field name. This patch corrects that it's initialized with field name.
Signed-off-by Sidong Yang <[email protected]>
--- props.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
props.c +2 -1
@@ -186,7 +186,8 @@ const struct prop_handler prop_handlers[] = { .name = "compression", .desc = "compression algorithm for the file or directory", .read_only = 0, - .types = prop_object_inode, prop_compression + .types = prop_object_inode, + .handler = prop_compression }, {NULL, NULL, 0, 0, NULL} };
Signature · 1 line
2.25.1
Quoted 4 lines · Sidong Yang
Compression
prop_handleris initialized without field name. This patch corrects that it's initialized with field name.Signed-off-by Sidong Yang <[email protected]>
Thanks, added to devel.