From: [email protected] Modified for kernel import and Signed-off-by: James Bottomley <[email protected]>