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:
parent
6b93a7336c
commit
dd3b931b1c
3
props.c
3
props.c
|
@ -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}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue