Messages in this thread Patch in this message | | | Date | Mon, 15 Jul 2002 14:54:43 +0100 (BST) | From | Hugh Dickins <> | Subject | [PATCH] tmpfs double kunmap |
| |
Found by Simon Trimmer <simon@veritas.com>: shmem_file_write failure path duplicates kunmap, causing oops holding kmap_lock.
Patch against 2.4.19-rc1, applies at offset to 2.4.19-rc1-ac3, applies at offset to 2.5.25 but I'll send Linus and Dave later.
--- 2.4.19-rc1/mm/shmem.c Mon Jun 24 19:14:58 2002 +++ linux/mm/shmem.c Mon Jul 15 12:28:47 2002 @@ -906,7 +906,6 @@ fail_write: status = -EFAULT; ClearPageUptodate(page); - kunmap(page); goto unlock; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |