The patch titled NOMMU: don't try and give NULL to fput() has been added to the -mm tree. Its filename is nommu-dont-try-and-give-null-to-fput.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: NOMMU: don't try and give NULL to fput() From: Gavin Lambert <gavinl@xxxxxxxxxxxxxx> Don't try and give NULL to fput() in the error handling in do_mmap_pgoff() as it'll cause an oops. Signed-off-by: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/nommu.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN mm/nommu.c~nommu-dont-try-and-give-null-to-fput mm/nommu.c --- a/mm/nommu.c~nommu-dont-try-and-give-null-to-fput +++ a/mm/nommu.c @@ -948,7 +948,8 @@ unsigned long do_mmap_pgoff(struct file up_write(&nommu_vma_sem); kfree(vml); if (vma) { - fput(vma->vm_file); + if (vma->vm_file) + fput(vma->vm_file); kfree(vma); } return ret; _ Patches currently in -mm which might be from gavinl@xxxxxxxxxxxxxx are nommu-dont-try-and-give-null-to-fput.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html