aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-11-20 10:22:27 -0500
committerChris Mason <chris.mason@oracle.com>2008-11-20 10:22:27 -0500
commit4b4e25f2a6ddb070bab7f7dd2bd2926fb8db9e04 (patch)
treeb4417e03a187efd6a88da75a41a94020a2bb76ac /fs/btrfs/volumes.c
parent79683f2d685cfb6ef9c97c5194e3ce3319e80cac (diff)
Btrfs: compat code fixes
The btrfs git kernel trees is used to build a standalone tree for compiling against older kernels. This commit makes the standalone tree work with 2.6.27 Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index c3ee63f92a5f..724ead54529b 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -20,7 +20,9 @@
20#include <linux/buffer_head.h> 20#include <linux/buffer_head.h>
21#include <linux/blkdev.h> 21#include <linux/blkdev.h>
22#include <linux/random.h> 22#include <linux/random.h>
23#include <linux/version.h>
23#include <asm/div64.h> 24#include <asm/div64.h>
25#include "compat.h"
24#include "ctree.h" 26#include "ctree.h"
25#include "extent_map.h" 27#include "extent_map.h"
26#include "disk-io.h" 28#include "disk-io.h"