]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: move the folio ordered helpers from ctree.h into fs.h
authorFilipe Manana <fdmanana@suse.com>
Mon, 16 Dec 2024 12:58:09 +0000 (12:58 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:17 +0000 (14:53 +0100)
commit2205302298af2036e9c164fca025ba7a1ab2c816
treef97990daddb9c6f6f23f0bf16e14303064ef306c
parenta5b3f117daead61c3c9c88cd1159d38fa4ad1362
btrfs: move the folio ordered helpers from ctree.h into fs.h

The folio ordered helper macros are defined at ctree.h but this is not
the best place since ctree.{h,c} is all about the btree data structure
implementation and not a generic module. So move these macros into the
fs.h header.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/fs.h