From: Nicolas Dichtel <[email protected]>
Date: Fri,  9 Jun 2017 14:41:57 +0200

> When the user tries to assign a specific nsid, idr_alloc() is called with
> the range [nsid, nsid+1]. If this nsid is already used, idr_alloc() returns
> ENOSPC (No space left on device). In our case, it's better to return
> EEXIST to make it clear that the nsid is not available.
> 
> CC: Jamal Hadi Salim <[email protected]>
> Signed-off-by: Nicolas Dichtel <[email protected]>

Applied.

Reply via email to