commit | 1b1e2135dc1e4efbcf25ac9ac9979316d4e1193e | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Jun 25 16:01:31 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:04 2008 -0400 |
tree | 2af53ed5d4c368bbefd9de94f0adc2902a785468 | |
parent | 079899c2384023cd8efcd3806680b4f1d2abbd54 [diff] [blame] |
Btrfs: Add a per-inode csum mutex to avoid races creating csum items Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 5ba8389..40b4e0c 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h
@@ -30,6 +30,7 @@ struct extent_map_tree extent_tree; struct extent_io_tree io_tree; struct extent_io_tree io_failure_tree; + struct mutex csum_mutex; struct inode vfs_inode; atomic_t ordered_writeback;