* [PATCH] btrfs-progs: props: init compression prop_handlers with field name
@ 2021-09-06 13:34 Sidong Yang
2021-09-06 13:46 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Sidong Yang @ 2021-09-06 13:34 UTC (permalink / raw)
To: linux-btrfs; +Cc: Sidong Yang
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>
---
props.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/props.c b/props.c
index aeb48679..81509e48 100644
--- a/props.c
+++ b/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}
};
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs-progs: props: init compression prop_handlers with field name
2021-09-06 13:34 [PATCH] btrfs-progs: props: init compression prop_handlers with field name Sidong Yang
@ 2021-09-06 13:46 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2021-09-06 13:46 UTC (permalink / raw)
To: Sidong Yang; +Cc: linux-btrfs
On Mon, Sep 06, 2021 at 01:34:32PM +0000, Sidong Yang wrote:
> 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>
Thanks, added to devel.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-06 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 13:34 [PATCH] btrfs-progs: props: init compression prop_handlers with field name Sidong Yang
2021-09-06 13:46 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.