Just a convinent trim patch for zfsonlinux, the work is done by @dechamps.