summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-19 16:01:38 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-04-03 12:44:02 -0400
commite14ba5cdb965d7ba585971618966c5c6cc767173 (patch)
treef1d53053da97de4934168ce7b05e72575bedb872
parent3a14853b341d8c122412009edf96b51c871d0830 (diff)
bcachefs: fix new reinherit_attrs ioctl
-rw-r--r--fs/bcachefs/fs-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-ioctl.c b/fs/bcachefs/fs-ioctl.c
index a9aac09f617f..1dc9b06df9f5 100644
--- a/fs/bcachefs/fs-ioctl.c
+++ b/fs/bcachefs/fs-ioctl.c
@@ -183,7 +183,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;