On Thu, Sep 21, 2017 at 11:47 AM, Cong Wang [off-list ref] wrote:
On Wed, Sep 20, 2017 at 9:18 AM, Cong Wang [off-list ref] wrote:
quoted
+errout_idr:
+ if (fnew->handle)
+ idr_remove_ext(&head->handle_idr, fnew->handle);
Hmm, I should check fold instead of fnew->handle here.
I will update this patch.
Never mind, it should be the same logic. If fold is non-NULL,
then fnew->handle == 0.
It can be applied as it is.