Whamcloud - gitweb
LU-1978 llite: Fix i_size race with truncate and mkwrite
[fs/lustre-release.git] / lustre / fld / fld_internal.h
index 39682f4..c6f87f1 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.
  * 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.
+ *
+ * Copyright (c) 2012, Whamcloud, Inc.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -146,15 +146,9 @@ struct fld_thread_info {
         struct lu_seq_range fti_rec;
         struct lu_seq_range fti_lrange;
         struct lu_seq_range fti_irange;
-        struct txn_param    fti_txn_param;
 };
 
-
-struct thandle* fld_trans_start(struct lu_server_fld *fld,
-                                const struct lu_env *env, int credit);
-
-void fld_trans_stop(struct lu_server_fld *fld,
-                    const struct lu_env *env, struct thandle* th);
+extern struct lu_context_key fld_thread_key;
 
 int fld_index_init(struct lu_server_fld *fld,
                    const struct lu_env *env,
@@ -213,5 +207,5 @@ fld_target_name(struct lu_fld_target *tar)
 }
 
 extern cfs_proc_dir_entry_t *fld_type_proc_dir;
-
+extern struct file_operations fld_proc_seq_fops;
 #endif /* __FLD_INTERNAL_H */