Commit 50780d9b authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

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



Commit 95ea0486 ("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: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 54fde91f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2592,8 +2592,7 @@ static int validate_super(struct btrfs_fs_info *fs_info,

	/*
	 * For 4K page size, we only support 4K sector size.
	 * For 64K page size, we support read-write for 64K sector size, and
	 * read-only for 4K sector size.
	 * For 64K page size, we support 64K and 4K sector sizes.
	 */
	if ((PAGE_SIZE == SZ_4K && sectorsize != PAGE_SIZE) ||
	    (PAGE_SIZE == SZ_64K && (sectorsize != SZ_4K &&