btrfs: use struct qstr for subvolume ioctl helpers
authorDavid Sterba <dsterba@suse.com>
Thu, 26 Jun 2025 14:30:09 +0000 (16:30 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 22:05:00 +0000 (00:05 +0200)
commit34f6cc5b187f41e0268ebec363bcf5f98c0defcf
tree0a4614c779ec879b0a7da3135bd55f7f81138821
parent164299ba117619643f6f042d487153d45a142999
btrfs: use struct qstr for subvolume ioctl helpers

We pass name and length of subvolumes separately to the related
functions, while this can be a struct qstr which is otherwise used for
dentry interfaces.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c