bcachefs: fix new reinherit_attrs ioctl

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2018-12-19 16:01:38 -05:00 committed by Kent Overstreet
parent 0b847a19d9
commit e19e57f8a1

View file

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