Whamcloud - gitweb
LU-3306 mdt: Do not LBUG on double set of err_serious
[fs/lustre-release.git] / lustre / include / lustre_mdt.h
index d575768..81b69fc 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -65,7 +63,6 @@ enum {
 static inline int err_serious(int rc)
 {
         LASSERT(rc < 0);
-        LASSERT(-rc < ESERIOUS);
         return -(-rc | ESERIOUS);
 }