From: Michel Dänzer Date: Wed, 20 May 2009 11:32:00 +0000 (+0200) Subject: drm: Copy back ioctl data to userspace regardless of return code. X-Git-Tag: v2.6.30-rc7~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b6fe313bfce27d4a261257da70196be0ac2bef5;p=pandora-kernel.git drm: Copy back ioctl data to userspace regardless of return code. Fixes a regression from commit 9d5b3ffc42f7820e8ee07705496955e4c2c38dd9 ('drm: fixup some of the ioctl function exit paths'): The vblank ioctl needs to update the userspace parameters when interrupted by a signal, which was prevented by the return code check. This could cause the X server to hang in drmWaitVBlank(). Signed-off-by: Michel Dänzer Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed