Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=10668

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9235|review?([EMAIL PROTECTED])|review+
               Flag|                            |


(From update of attachment 9235)
>-        nob = snprintf(buf, sizeof(buf), "%u-%s:(%s:%d:%s()): ",
>+        if ((mask & D_EMERG) != 0) {
>+               prefix = "LustreError";
>+        } else if ((mask & D_ERROR) != 0) {
>+               prefix = "LustreError";
>+        }

Better variant of this code is
if (mask & (D_EMERG|D_ERROR) != 0)
        prefix = "LustreError";

Otherwise is good, please land.

_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

Reply via email to