summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-15 13:50:00 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-15 13:50:00 -0400
commit9ebefb180bad4914a31c4e1748ba187a30e1e990 (patch)
tree68d4833889fac64b1b69e6212afa9584cc88f2ff /fs/btrfs/disk-io.c
parentf1ace244c8c1e16eaa5c8b3b5339849651e31ede (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index b0ebba6f2e4..602b63dc76c 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,
desc.tfm = tfm;
desc.flags = 0;
sg_init_one(&sg, data, len);
- spin_lock(&root->fs_info->hash_lock);
+ spin_lock_irq(&root->fs_info->hash_lock);
ret = crypto_hash_digest(&desc, &sg, 1, result);
- spin_unlock(&root->fs_info->hash_lock);
+ spin_unlock_irq(&root->fs_info->hash_lock);
if (ret) {
printk("digest failed\n");
}