Was erroneously returning an error code when everything was fine under Kernel 2.6.35 or newer