Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

btrfs: fix comment about sector sizes supported in 64K systems

Commit 95ea0486b20e ("btrfs: allow read-write for 4K sectorsize on 64K
page size systems") added write support for 4K sectorsize on a 64K
systems. Fix the now stale comments.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>

authored by

Anand Jain and committed by
David Sterba
50780d9b 54fde91f

+1 -2
+1 -2
fs/btrfs/disk-io.c
··· 2592 2592 2593 2593 /* 2594 2594 * For 4K page size, we only support 4K sector size. 2595 - * For 64K page size, we support read-write for 64K sector size, and 2596 - * read-only for 4K sector size. 2595 + * For 64K page size, we support 64K and 4K sector sizes. 2597 2596 */ 2598 2597 if ((PAGE_SIZE == SZ_4K && sectorsize != PAGE_SIZE) || 2599 2598 (PAGE_SIZE == SZ_64K && (sectorsize != SZ_4K &&