summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2026-06-19 18:24:46 +0930
committerDavid Sterba <dsterba@suse.com>2026-08-07 19:16:28 +0200
commit6eb2fe0724bd235f6f83d28c8f9c22666854bf2a (patch)
tree6cad438b6cf86ad681fde87cf619fe02870e8af1
parent545e560a5b0fb97ff4154e6fb0674d1f5055a81e (diff)
downloadlinux-6eb2fe0724bd235f6f83d28c8f9c22666854bf2a.tar.gz
linux-6eb2fe0724bd235f6f83d28c8f9c22666854bf2a.zip
btrfs: remove out-of-date comments regarding 2K block size
Since commit bac3c2910c0c ("btrfs: remove 2K block size support") there is no 2K block size support inside btrfs anymore. Remove the stale comments of btrfs_supported_blocksize(). Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/fs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/fs.c b/fs/btrfs/fs.c
index dcf12979af33..5bd6856213aa 100644
--- a/fs/btrfs/fs.c
+++ b/fs/btrfs/fs.c
@@ -135,12 +135,6 @@ void btrfs_csum_final(struct btrfs_csum_ctx *ctx, u8 *out)
*
* - PAGE_SIZE
* The straightforward block size to support.
- *
- * And extra support for the following block sizes based on the kernel config:
- *
- * - MIN_BLOCKSIZE
- * This is either 4K (regular builds) or 2K (debug builds)
- * This allows testing subpage routines on x86_64.
*/
bool __attribute_const__ btrfs_supported_blocksize(u32 blocksize)
{