From e19e57f8a1e5ebe1fe78dc0dff5120b4752ee8b1 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 19 Dec 2018 16:01:38 -0500 Subject: [PATCH] bcachefs: fix new reinherit_attrs ioctl Signed-off-by: Kent Overstreet --- fs/bcachefs/fs-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/fs-ioctl.c b/fs/bcachefs/fs-ioctl.c index 4925a127a335..b00d25b18ed4 100644 --- a/fs/bcachefs/fs-ioctl.c +++ b/fs/bcachefs/fs-ioctl.c @@ -184,7 +184,7 @@ static int bch2_ioc_reinherit_attrs(struct bch_fs *c, if (unlikely(ret < 0)) goto err1; - qstr.hash_len = ret; + qstr.len = ret; qstr.name = kname; ret = -ENOENT; -- 2.39.5