1 /* object based disk file system
3 * This software is licensed under the GPL. See the file COPYING in the
4 * top directory of this distribution for details.
6 * Copyright (C), 1999, Stelias Computing Inc
14 #include <../obd/linux/obd_class.h>
17 ssize_t obdfs_file_write(struct file *file, const char *buf, size_t count, loff_t *ppos);
21 struct page *obdfs_getpage(struct inode *inode, unsigned long offset);
22 int obdfs_writepage(struct file *file, struct page *page);
23 int obdfs_write_one_page(struct file *file, struct page *page, unsigned long offset, unsigned long bytes, const char * buf);
26 struct dentry *obdfs_lookup(struct inode * dir, struct dentry *dentry);
29 int obdfs_readdir(struct file * filp, void * dirent, filldir_t filldir);
31 struct obdfs_sb_info {
32 struct obd_conn_info osi_conn_info;
33 struct super_block *osi_super;
34 struct obd_device *osi_obd;
35 struct obd_ops *osi_ops;
38 void obdfs_sysctl_init(void);
39 void obdfs_sysctl_clean(void);
41 struct obdfs_inode_info;
43 extern struct file_operations obdfs_file_operations;
44 extern struct inode_perations obdfs_inode_operations;
47 #define OBDFS_SUPER_MAGIC 0x4711