diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-01-27 12:53:02 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-29 08:04:27 +0100 |
commit | 3b4740b2c1ab3b79050d8d8fb6454a78fed8ea5e (patch) | |
tree | cd7546ebf35b05e9d6817d96293827f60e2c6268 /fs | |
parent | 489c8ba906ddcbd2b9ab403952a4b629f27e6e2c (diff) | |
download | barebox-3b4740b2c1ab3b79050d8d8fb6454a78fed8ea5e.tar.gz barebox-3b4740b2c1ab3b79050d8d8fb6454a78fed8ea5e.tar.xz |
fs: move PAGE_CACHE definitions to include/linux/pagemap.h
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/ubifs.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 2d0cd4cb01..d16f780fd9 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -35,6 +35,7 @@ #include <malloc.h> #include <lzo.h> #include <linux/fs.h> +#include <linux/pagemap.h> #include <linux/ctype.h> #include <linux/math64.h> #include <linux/rbtree.h> @@ -173,10 +174,6 @@ struct file { */ #define get_seconds() 0 -/* 4k page size */ -#define PAGE_CACHE_SHIFT 12 -#define PAGE_CACHE_SIZE (1 << PAGE_CACHE_SHIFT) - /* Page cache limit. The filesystems should put that into their s_maxbytes limits, otherwise bad things can happen in VM. */ #if BITS_PER_LONG==32 |