Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1288587
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] overlayfs: include linux/pagemap.h for PAGE_CACHE_SIZE |
| Date | 2015-12-10 16:20 +0100 |
| Message-ID | <qEbaH-7V7-49@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The overlayfs has started enforcing a maximum file size, but is missing
the header file that defines the PAGE_CACHE_SIZE constant in some
configurations.
fs/overlayfs/super.c: In function 'ovl_fill_super':
fs/overlayfs/super.c:939:29: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 7b1746cac878 ("ovl: setattr: check permissions before copy-up")
Cc: <stable@vger.kernel.org>
---
The patch that introduced this was marked for stable, so I'm marking this
the same way.
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index ea94e50a3473..a4cbdf9824c7 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -9,6 +9,7 @@
#include <linux/fs.h>
#include <linux/namei.h>
+#include <linux/pagemap.h>
#include <linux/xattr.h>
#include <linux/security.h>
#include <linux/mount.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] overlayfs: include linux/pagemap.h for PAGE_CACHE_SIZE Arnd Bergmann <arnd@arndb.de> - 2015-12-10 16:20 +0100 Re: [PATCH] overlayfs: include linux/pagemap.h for PAGE_CACHE_SIZE Miklos Szeredi <miklos@szeredi.hu> - 2015-12-10 16:30 +0100
csiph-web