patch-2.1.69 linux/fs/fat/mmap.c

Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/fs/fat/mmap.c linux/fs/fat/mmap.c
@@ -60,7 +60,7 @@
 		filp.f_pos = pos;
 		need_read = PAGE_SIZE - clear;
 		{
-			unsigned long cur_fs = get_fs();
+			mm_segment_t cur_fs = get_fs();
 			set_fs (KERNEL_DS);
 			cur_read = fat_file_read (&filp, (char*)page,
 						  need_read, &filp.f_pos);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov