Whamcloud - gitweb
LU-5577 osc: change cl_extent_tax and *grants to unsigned
[fs/lustre-release.git] / lustre / osc / osc_cl_internal.h
index 2eff97d..4883693 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2012, 2013, Intel Corporation.
+ * Copyright (c) 2012, 2014, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -50,7 +50,6 @@
 #include <obd.h>
 /* osc_build_res_name() */
 #include <cl_object.h>
-#include <lclient.h>
 #include "osc_internal.h"
 
 /** \defgroup osc osc
@@ -623,7 +622,7 @@ struct osc_extent {
        /** link list of osc_object's oo_{hp|urgent|locking}_exts. */
        struct list_head        oe_link;
        /** state of this extent */
-       unsigned int            oe_state;
+       enum osc_extent_state   oe_state;
        /** flags for this extent. */
        unsigned int            oe_intree:1,
        /** 0 is write, 1 is read */