git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
[pandora-kernel.git]
/
mm
/
fremap.c
diff --git
a/mm/fremap.c
b/mm/fremap.c
index
9ed4fd4
..
048659c
100644
(file)
--- a/
mm/fremap.c
+++ b/
mm/fremap.c
@@
-195,10
+195,9
@@
SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
*/
if (mapping_cap_account_dirty(mapping)) {
unsigned long addr;
*/
if (mapping_cap_account_dirty(mapping)) {
unsigned long addr;
- struct file *file =
vma->vm_file
;
+ struct file *file =
get_file(vma->vm_file)
;
flags &= MAP_NONBLOCK;
flags &= MAP_NONBLOCK;
- get_file(file);
addr = mmap_region(file, start, size,
flags, vma->vm_flags, pgoff);
fput(file);
addr = mmap_region(file, start, size,
flags, vma->vm_flags, pgoff);
fput(file);