Whamcloud - gitweb
LU-1867 tests: replay-single test_89: @@ FAIL: 4 blocks leaked
[fs/lustre-release.git] / lustre / liblustre / llite_lib.h
index 780a3c3..8eadab8 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.
@@ -101,7 +99,6 @@ struct llu_inode_info {
         struct llu_sb_info     *lli_sbi;
         struct lu_fid           lli_fid;
 
-        struct lov_stripe_md   *lli_smd;
         char                   *lli_symlink_name;
         __u64                   lli_maxbytes;
         unsigned long           lli_flags;
@@ -120,6 +117,7 @@ struct llu_inode_info {
          * was opened several times without close, we track an
          * open_count here */
         struct ll_file_data    *lli_file_data;
+       bool                    lli_has_smd;
         int                     lli_open_flags;
         int                     lli_open_count;
 
@@ -409,11 +407,11 @@ static inline struct ll_file_data *cl_iattr2fd(struct inode *inode,
         return llu_i2info(inode)->lli_file_data;
 }
 
-static inline void cl_isize_lock(struct inode *inode, int lsmlock)
+static inline void cl_isize_lock(struct inode *inode)
 {
 }
 
-static inline void cl_isize_unlock(struct inode *inode, int lsmlock)
+static inline void cl_isize_unlock(struct inode *inode)
 {
 }