summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index b597bdde7..6d718c01d 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -907,7 +907,7 @@ static inline int do_write_page(struct inode * inode, struct file * file,
{
int retval;
unsigned long size;
- unsigned long old_fs;
+ mm_segment_t old_fs;
size = offset + PAGE_SIZE;
/* refuse to extend file size.. */