[lustre-devel] [PATCH 10/11] lustre: ldlm: checkpatch cleanup

Degremont, Aurelien degremoa at amazon.com
Wed Jul 24 00:23:46 PDT 2019



Le 24/07/2019 05:38, « lustre-devel au nom de James Simmons » <lustre-devel-bounces at lists.lustre.org au nom de jsimmons at infradead.org> a écrit :
    
    From checkpatch - "ENOSYS means 'invalid syscall nr' and nothing else"
    So using ENOSYS is no no. We get away with this because people rarely
    actually handle each error code individually.
.
    
As a general comment about this, I think we should improve this in the futur. Some people asked me "what's the error code when this or that happens in Lustre?". And I've got no real answer for that.
Indeed people, most of the time, only checks returned code against 0. That does not help when looking at specific Lustre issues.




More information about the lustre-devel mailing list