X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Fobdfs.h;h=3871800eb3804b4b2f5f87e67631d48534c2fdf7;hb=96740b8bbea943b6a401546196570b3a63af3bda;hp=441ba81c4d5710e1f4df1c45603eb58f8231e46b;hpb=feb17cfc8ee0487a079f55fe5070f4816d36a574;p=fs%2Flustre-release.git diff --git a/lustre/include/linux/obdfs.h b/lustre/include/linux/obdfs.h index 441ba81..3871800 100644 --- a/lustre/include/linux/obdfs.h +++ b/lustre/include/linux/obdfs.h @@ -185,6 +185,8 @@ int obdfs_init_pgrqcache(void); void obdfs_cleanup_pgrqcache(void); inline void obdfs_pgrq_del(struct obdfs_pgrq *pgrq); int obdfs_readpage(struct file *file, struct page *page); +int obdfs_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to); +int obdfs_commit_write(struct file *file, struct page *page, unsigned from, unsigned to); int obdfs_writepage(struct page *page); struct page *obdfs_getpage(struct inode *inode, unsigned long offset, int create, int locked);