Whamcloud - gitweb
Add mount_count file to hold the current MDS generation number. Note that
[fs/lustre-release.git] / lustre / include / linux / lustre_lib.h
index 70fdeb7..f6e3ecb 100644 (file)
 #ifdef __KERNEL__
 /* page.c */
 inline void lustre_put_page(struct page *page);
-struct page * lustre_get_page(struct inode *dir, unsigned long n);
-int lustre_prepare_page(unsigned from, unsigned to, struct page *page);
+struct page *lustre_get_page_read(struct inode *dir, unsigned long index);
+struct page *lustre_get_page_write(struct inode *dir, unsigned long index);
 int lustre_commit_page(struct page *page, unsigned from, unsigned to);
+
+/* simple.c */
+struct obd_run_ctxt;
 void push_ctxt(struct obd_run_ctxt *save, struct obd_run_ctxt *new);
 void pop_ctxt(struct obd_run_ctxt *saved);
 int simple_mkdir(struct dentry *dir, char *name, int mode);
+int lustre_fread(struct file *file, char *str, int len, loff_t *off);
+int lustre_fwrite(struct file *file, const char *str, int len, loff_t *off);
 #endif
 
 #include <linux/portals_lib.h>