summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/fs-ioctl.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-19 22:01:38 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:14 +0200
commite19e57f8a1e5ebe1fe78dc0dff5120b4752ee8b1 (patch)
tree71e7922f01ad73e04a18ea02421d00cbc01cf4ec /fs/bcachefs/fs-ioctl.c
parentbcachefs: Lots of option handling improvements (diff)
downloadlinux-e19e57f8a1e5ebe1fe78dc0dff5120b4752ee8b1.tar.xz
linux-e19e57f8a1e5ebe1fe78dc0dff5120b4752ee8b1.zip
bcachefs: fix new reinherit_attrs ioctl
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-ioctl.c')
-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 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;