diff options
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1301,8 +1301,7 @@ munmap_back: | |||
1301 | goto free_vma; | 1301 | goto free_vma; |
1302 | correct_wcount = 1; | 1302 | correct_wcount = 1; |
1303 | } | 1303 | } |
1304 | vma->vm_file = file; | 1304 | vma->vm_file = get_file(file); |
1305 | get_file(file); | ||
1306 | error = file->f_op->mmap(file, vma); | 1305 | error = file->f_op->mmap(file, vma); |
1307 | if (error) | 1306 | if (error) |
1308 | goto unmap_and_free_vma; | 1307 | goto unmap_and_free_vma; |