/*
* 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/
#if defined __KERNEL__
#include <linux/lustre_compat25.h>
+#include <linux/lustre_common.h>
#include <linux/lvfs_linux.h>
#else
#include <liblustre.h>
int ngroups;
struct lvfs_callback_ops cb_ops;
struct group_info *group_info;
+ struct dt_device *dt;
#ifdef OBD_CTXT_DEBUG
__u32 magic;
#endif
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)
{