btrfs: use struct fscrypt_str instead of struct qstr

[ Upstream commit 6db7531882 ]

While struct qstr is more natural without fscrypt, since it's provided
by dentries, struct fscrypt_str is provided by the fscrypt handlers
processing dentries, and is thus more natural in the fscrypt world.
Replace all of the struct qstr uses with struct fscrypt_str.

Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Stable-dep-of: 9af86694fd ("btrfs: file_remove_privs needs an exclusive lock in direct io write")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Sweet Tea Dorminy 2022-10-20 12:58:27 -04:00 • committed by Greg Kroah-Hartman
commit ef54db5b5d
12 changed files with 95 additions and 118 deletions