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 <realwakka@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Sidong Yang 2021-09-06 13:34:32 +00:00 committed by David Sterba
parent 6b93a7336c
commit dd3b931b1c

View file

@ -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}
};