OSDN Git Service

btrfs: use struct fscrypt_str instead of struct qstr
authorSweet Tea Dorminy <sweettea-kernel@dorminy.me>
Thu, 20 Oct 2022 16:58:27 +0000 (12:58 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:43 +0000 (18:00 +0100)
commit6db75318823a169e836a478ca57d6a7c0a156b77
tree3fc1c2395f055e939ee531ec5da79e5ae525ad5f
parentab3c5c18e8fa3f8ea116016095d25adab466cd39
btrfs: use struct fscrypt_str instead of struct qstr

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>
12 files changed:
fs/btrfs/ctree.h
fs/btrfs/dir-item.c
fs/btrfs/inode-item.c
fs/btrfs/inode-item.h
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/root-tree.c
fs/btrfs/send.c
fs/btrfs/super.c
fs/btrfs/transaction.c
fs/btrfs/tree-log.c
fs/btrfs/tree-log.h