My patch does this, though I understand it may take some time to review.
I left the lk->fd unmodified when close() failed in case the caller
would like to include it in an error message.
-brandon
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html