diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-15 13:50:00 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-15 13:50:00 -0400 |
commit | 9ebefb180bad4914a31c4e1748ba187a30e1e990 (patch) | |
tree | 68d4833889fac64b1b69e6212afa9584cc88f2ff /fs/btrfs/disk-io.c | |
parent | f1ace244c8c1e16eaa5c8b3b5339849651e31ede (diff) |
Btrfs: patch queue: page_mkwrite
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index b0ebba6f2e46..602b63dc76c3 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -155,9 +155,9 @@ int btrfs_csum_data(struct btrfs_root * root, char *data, size_t len, | |||
155 | desc.tfm = tfm; | 155 | desc.tfm = tfm; |
156 | desc.flags = 0; | 156 | desc.flags = 0; |
157 | sg_init_one(&sg, data, len); | 157 | sg_init_one(&sg, data, len); |
158 | spin_lock(&root->fs_info->hash_lock); | 158 | spin_lock_irq(&root->fs_info->hash_lock); |
159 | ret = crypto_hash_digest(&desc, &sg, 1, result); | 159 | ret = crypto_hash_digest(&desc, &sg, 1, result); |
160 | spin_unlock(&root->fs_info->hash_lock); | 160 | spin_unlock_irq(&root->fs_info->hash_lock); |
161 | if (ret) { | 161 | if (ret) { |
162 | printk("digest failed\n"); | 162 | printk("digest failed\n"); |
163 | } | 163 | } |