From: Kent Overstreet Date: Wed, 19 Dec 2018 21:01:38 +0000 (-0500) Subject: bcachefs: fix new reinherit_attrs ioctl X-Git-Tag: io_uring-6.7-2023-11-10~119^2~2619 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e19e57f8a1e5ebe1fe78dc0dff5120b4752ee8b1;p=linux-block.git bcachefs: fix new reinherit_attrs ioctl Signed-off-by: Kent Overstreet --- 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;