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

Next file: linux/fs/file_table.c
Previous file: linux/fs/fat/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.2/linux/fs/fat/mmap.c linux/fs/fat/mmap.c
@@ -113,8 +113,6 @@
 		mark_inode_dirty(inode);
 	}
 
-	vma->vm_file = file;
-	file->f_count++;
 	vma->vm_ops = &fat_file_mmap;
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)