Shyam Prasad N <nspmangalore@xxxxxxxxx> writes: > For cases of zero credits found even when there are no requests > in flight, replaced ENOTSUPP with EDEADLK, since we're avoiding > deadlock here by returning error. Seems ok. libc can have different behaviours depending on error but it should be ok I think and better than ENOTSUPP. Reviewed-by: Aurelien Aptel <aaptel@xxxxxxxx> Cheers, -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)