Whamcloud - gitweb
LU-2158 lvfs: Remove functions from lvfs_linux.c
[fs/lustre-release.git] / lustre / include / linux / lvfs.h
index f949552..2b83165 100644 (file)
@@ -26,6 +26,8 @@
 /*
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -45,6 +47,7 @@
 
 #if defined __KERNEL__
 #include <linux/lustre_compat25.h>
+#include <linux/lustre_common.h>
 #include <linux/lvfs_linux.h>
 #else
 #include <liblustre.h>
@@ -79,6 +82,7 @@ struct lvfs_run_ctxt {
         int                      ngroups;
         struct lvfs_callback_ops cb_ops;
         struct group_info       *group_info;
+       struct dt_device        *dt;
 #ifdef OBD_CTXT_DEBUG
         __u32                    magic;
 #endif
@@ -94,17 +98,8 @@ struct lvfs_run_ctxt {
 
 struct dentry *simple_mkdir(struct dentry *dir, struct vfsmount *mnt, 
                             const char *name, int mode, int fix);
-struct dentry *simple_mknod(struct dentry *dir, char *name, int mode, int fix);
 int lustre_rename(struct dentry *dir, struct vfsmount *mnt, char *oldname,
                   char *newname);
-int lustre_fread(struct file *file, void *buf, int len, loff_t *off);
-int lustre_fwrite(struct file *file, const void *buf, int len, loff_t *off);
-int lustre_fsync(struct file *file);
-long l_readdir(struct file * file, cfs_list_t *dentry_list);
-int l_notify_change(struct vfsmount *mnt, struct dentry *dchild,
-                    struct iattr *newattrs);
-int simple_truncate(struct dentry *dir, struct vfsmount *mnt,
-                               char *name, loff_t length);
 
 static inline void l_dput(struct dentry *de)
 {