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>2018-12-27 11:38:39 -0500
commitea640dc4b96b565e3185d4478edf5fa4dfdf1b61 (patch)
tree7e27f543a00017a34585f63d2b1c59bb1e80f52c
parent05c8e81de8cf70a42ffaf01ab021fe7c2699cd08 (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 d6cb21d69073..26d5f348c4f7 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;