~ubuntu-branches/debian/jessie/btrfs-tools/jessie

« back to all changes in this revision

Viewing changes to debian/patches/0001-Fixing-unaligned-memory-accesses.patch

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-10-23 22:04:07 UTC
  • mfrom: (1.2.15) (6.1.40 sid)
  • Revision ID: package-import@ubuntu.com-20141023220407-skt9hy0ft4oim95o
Tags: 3.17-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From 78d9c791877cefe6c9eec080bf2ca8e05b2e3b67 Mon Sep 17 00:00:00 2001
 
1
From 7c125e55fd530ee01a9ddc88111f7e7d77360fed Mon Sep 17 00:00:00 2001
2
2
From: Shawn Landen <shawnlandden@gmail.com>
3
3
Date: Sat, 19 Apr 2014 11:40:37 +0100
4
4
Subject: Fixing unaligned memory accesses.
 
5
Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ
5
6
 
6
7
Bug-Debian: http://bugs.debian.org/656955
7
8
Signed-off-by: Dimitri John Ledkov <xnox@debian.org>
11
12
 2 files changed, 17 insertions(+), 6 deletions(-)
12
13
 
13
14
diff --git a/ctree.h b/ctree.h
14
 
index 93b8585..91b4f1a 100644
 
15
index 89036de..43106c2 100644
15
16
--- a/ctree.h
16
17
+++ b/ctree.h
17
18
@@ -19,6 +19,8 @@
62
63
 
63
64
 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
64
65
diff --git a/volumes.c b/volumes.c
65
 
index 009ce78..b46081c 100644
 
66
index 5b007fc..8e0e6ce 100644
66
67
--- a/volumes.c
67
68
+++ b/volumes.c
68
 
@@ -472,10 +472,11 @@ static int find_next_chunk(struct btrfs_root *root, u64 objectid, u64 *offset)
 
69
@@ -473,10 +473,11 @@ static int find_next_chunk(struct btrfs_root *root, u64 objectid, u64 *offset)
69
70
                if (found_key.objectid != objectid)
70
71
                        *offset = 0;
71
72
                else {