Messages in this thread Patch in this message | | | From | Miklos Szeredi <> | Subject | [PATCH 1/2] ovl: fix missing include | Date | Tue, 19 Apr 2011 11:43:18 +0200 |
| |
From: Miklos Szeredi <mszeredi@suse.cz>
CC [M] fs/overlayfs/copy_up.o fs/overlayfs/copy_up.c: In function 'ovl_read_symlink': fs/overlayfs/copy_up.c:135:2: error: implicit declaration of function 'get_fs' fs/overlayfs/copy_up.c:135:9: error: incompatible types when assigning to type 'mm_segment_t' from type 'int' fs/overlayfs/copy_up.c:136:2: error: implicit declaration of function 'set_fs' fs/overlayfs/copy_up.c:136:2: error: implicit declaration of function 'get_ds'
Reported-by: Michal Suchanek <hramrach@centrum.cz> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> --- fs/overlayfs/copy_up.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c index fb9962c..308a80a 100644 --- a/fs/overlayfs/copy_up.c +++ b/fs/overlayfs/copy_up.c @@ -13,6 +13,7 @@ #include <linux/splice.h> #include <linux/xattr.h> #include <linux/security.h> +#include <linux/uaccess.h> #include "overlayfs.h" #define OVL_COPY_UP_CHUNK_SIZE (1 << 20) -- 1.7.1
| |