Btrfs: Take the csum mutex while reading checksums

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2008-07-22 23:06:42 -04:00
parent c286ac48ed
commit ed98b56a63
5 changed files with 12 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ struct btrfs_ordered_sum {
unsigned long len;
struct list_head list;
/* last field is a variable length array of btrfs_sector_sums */
struct btrfs_sector_sum sums;
struct btrfs_sector_sum sums[];
};
/*