Hugh Dickins 032c09d76c [SCSI] sg and st unmap_user_pages allow PageReserved
2.6.15-rc1 made sg's st_unmap_user_pages and st's sgl_unmap_user_pages
BUG on a PageReserved page.  But that's wrong: they could be unmapping
the ZERO_PAGE, which is marked PG_reserved; and perhaps others (while
get_user_pages is still permitted on VM_PFNMAP areas - that may change).

More change is needed here: sg claims to dirty even pages written from,
and st claims not to dirty even pages read into; and SetPageDirty is not
adequate for this nowadays.  Fixes to those follow in a later patch: for
the moment just fix the 2.6.15 regression.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-12-02 10:24:14 -06:00
..
2005-11-10 12:55:52 -08:00
2005-11-23 23:03:06 -08:00
2005-11-24 21:41:14 +11:00
2005-10-30 17:37:10 -08:00
2005-10-30 17:37:32 -08:00
2005-11-20 14:06:28 -08:00
2005-11-12 17:26:21 +00:00
2005-11-07 07:54:09 -08:00
2005-10-30 17:37:32 -08:00
2005-09-11 19:15:07 -07:00
2005-11-07 07:53:46 -08:00