[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121227143032.GA3223@osiris>
Date: Thu, 27 Dec 2012 15:30:32 +0100
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Jaegeuk Kim <jaegeuk.kim@...sung.com>,
Namjae Jeon <namjae.jeon@...sung.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: [PATCH] f2fs: add missing pretech.h include
>From aa027f06dfb5b2fd27d6f92391d8340df671e82b Mon Sep 17 00:00:00 2001
From: Heiko Carstens <heiko.carstens@...ibm.com>
Date: Thu, 27 Dec 2012 15:22:27 +0100
Subject: [PATCH] f2fs: add missing pretech.h include
Fix these compile errors on s390:
fs/f2fs/data.c: In function 'read_end_io':
fs/f2fs/data.c:311:4: error: implicit declaration of function 'prefetchw' [-Werror=implicit-function-declaration]
fs/f2fs/segment.c: In function 'f2fs_end_io_write':
fs/f2fs/segment.c:628:4: error: implicit declaration of function 'prefetchw' [-Werror=implicit-function-declaration]
Signed-off-by: Heiko Carstens <heiko.carstens@...ibm.com>
---
fs/f2fs/data.c | 1 +
fs/f2fs/segment.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 655aeab..f5d2c62 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -13,6 +13,7 @@
#include <linux/buffer_head.h>
#include <linux/mpage.h>
#include <linux/writeback.h>
+#include <linux/prefetch.h>
#include <linux/backing-dev.h>
#include <linux/blkdev.h>
#include <linux/bio.h>
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 1b26e4e..cc28975 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -12,6 +12,7 @@
#include <linux/f2fs_fs.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
+#include <linux/prefetch.h>
#include <linux/vmalloc.h>
#include "f2fs.h"
--
1.7.12.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists