Whamcloud - gitweb
LU-3484 llite: Anonymous dentry incorrectly identified as root
[fs/lustre-release.git] / lustre / include / lustre_mdt.h
index f7b3ec4..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.
@@ -26,7 +24,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
 #ifndef __LINUX_MDT_H
 #define __LINUX_MDT_H
 
+/** \defgroup mdt mdt
+ *
+ * @{
+ */
+
 #include <lustre/lustre_idl.h>
 #include <lustre_req_layout.h>
 #include <md_object.h>
@@ -60,7 +63,6 @@ enum {
 static inline int err_serious(int rc)
 {
         LASSERT(rc < 0);
-        LASSERT(-rc < ESERIOUS);
         return -(-rc | ESERIOUS);
 }
 
@@ -76,5 +78,6 @@ static inline int is_serious(int rc)
         return (rc < 0 && -rc & ESERIOUS);
 }
 
+/** @} mdt */
 
 #endif