]> err.no Git - linux-2.6/commit
Fix error handling in HDIO_GETGEO compat wrapper
authorAndreas Schwab <schwab@suse.de>
Tue, 8 May 2007 07:31:38 +0000 (00:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:14 +0000 (11:15 -0700)
commit83ae1b79c898838e16ac8cde69b39d22d36fb035
treee7571f14e4167f4425b8b05ed2cf3b59c8b383b5
parenta3e0975684337738997771416535d0e5d6fa27cd
Fix error handling in HDIO_GETGEO compat wrapper

Don't clobber error from sys_ioctl in HDIO_GETGEO compat wrapper.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/compat_ioctl.c