sparc32 don't mark page dirty when failing
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sun, 31 Jan 2010 02:27:36 +0000 (03:27 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 31 Jan 2010 07:49:26 +0000 (07:49 +0000)
commit73d37723a1341ff7bbce90d83b4a2927f794b5ae
tree0208a804dddd194b6901d01b00b886894efc86eb
parentbf82157ae4d93d648e347969f9146a68bbf2255d
sparc32 don't mark page dirty when failing

if the access check fails, the page can not be modified
and shouldn't be marked dirty.
The patch fixes the "hsfs_putpage: dirty HSFS page"
error in Solaris guests.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/helper.c