summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-11-20 16:22:27 +0100
committerChris Mason <chris.mason@oracle.com>2008-11-20 16:22:27 +0100
commit4b4e25f2a6ddb070bab7f7dd2bd2926fb8db9e04 (patch)
treeb4417e03a187efd6a88da75a41a94020a2bb76ac /fs/btrfs/disk-io.c
parentBtrfs: Use current_fsuid/gid (diff)
downloadlinux-4b4e25f2a6ddb070bab7f7dd2bd2926fb8db9e04.tar.xz
linux-4b4e25f2a6ddb070bab7f7dd2bd2926fb8db9e04.zip
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/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index c8dcb47b6d7d..981652233f70 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -26,7 +26,8 @@
#include <linux/buffer_head.h> // for block_sync_page
#include <linux/workqueue.h>
#include <linux/kthread.h>
-# include <linux/freezer.h>
+#include <linux/freezer.h>
+#include "compat.h"
#include "crc32c.h"
#include "ctree.h"
#include "disk-io.h"