bcachefs: fix new reinherit_attrs ioctl
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 19 Dec 2018 21:01:38 +0000 (16:01 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:14 +0000 (17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-ioctl.c

index 4925a127a3350ce31d3c23c97ef0b2f9b04c0743..b00d25b18ed4a82ea48c37742679e43da6a6fb19 100644 (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;