summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2023-09-13 16:11:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-03 15:32:29 +0200
commit9d2ed098768453d38c28b2ec14ad53d5ab994c86 (patch)
tree864df4a04c8ca72a50b4c2777fce20a3fe45068b /kernel/workqueue.c
parent101d6f446315e64534066a7075fb2c64ca4f7c80 (diff)
btrfs: add helpers to get inode from page/folio pointers
[ Upstream commit c8293894afa718653688b2fa98ab68317c875a00 ] Add convenience helpers to get a struct btrfs_inode from a page or folio pointer instead of open coding the chain or intermediate BTRFS_I. This is implemented as a macro (still with type checking) so we don't need full definitions of struct page or address_space. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com> Stable-dep-of: 86211eea8ae1 ("btrfs: qgroup: validate btrfs_qgroup_inherit parameter") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions