summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-23 05:06:42 +0200
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:04:05 +0200
commited98b56a6393c5e150fd5095b9eb7fd7d3cfb041 (patch)
tree1e69d882a08d089d083132b2b10fcf385d857620 /fs/btrfs/ordered-data.h
parentBtrfs: alloc_mutex latency reduction (diff)
downloadlinux-ed98b56a6393c5e150fd5095b9eb7fd7d3cfb041.tar.xz
linux-ed98b56a6393c5e150fd5095b9eb7fd7d3cfb041.zip
Btrfs: Take the csum mutex while reading checksums
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ordered-data.h')
-rw-r--r--fs/btrfs/ordered-data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h
index 8e8e3c0404f3..36e63f1f79b3 100644
--- a/fs/btrfs/ordered-data.h
+++ b/fs/btrfs/ordered-data.h
@@ -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[];
};
/*