v2 of my previously sended patches, corrected followingdan carpenter and greg kh comments.Regards,Laurent.