X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Fobdfs.h;h=ca8ebfb94617847cb9bdbf70b69acc5f9fb2dbbe;hb=8e1bef7b6c3874c554152e6317bf4ef28aa3ffa7;hp=d583530b0ace9e141f4770c99e22a01ed4ccb612;hpb=dd8ece265f41df5851d9978de979490e42237666;p=fs%2Flustre-release.git diff --git a/lustre/include/linux/obdfs.h b/lustre/include/linux/obdfs.h index d583530..ca8ebfb 100644 --- a/lustre/include/linux/obdfs.h +++ b/lustre/include/linux/obdfs.h @@ -23,7 +23,6 @@ ssize_t obdfs_file_write(struct file *file, const char *buf, size_t count, loff_ /* rw.c */ struct page *obdfs_getpage(struct inode *inode, unsigned long offset, int create, int locked); -int obdfs_writepage(struct file *file, struct page *page); int obdfs_write_one_page(struct file *file, struct page *page, unsigned long offset, unsigned long bytes, const char * buf); /* namei.c */ @@ -42,6 +41,9 @@ int obdfs_check_dir_entry (const char * function, struct inode * dir, struct ext2_dir_entry_2 * de, struct page * page, unsigned long offset); +/* symlink.c */ +int obdfs_readlink (struct dentry *, char *, int); +struct dentry *obdfs_follow_link(struct dentry *, struct dentry *, unsigned int); struct obdfs_sb_info { struct obd_conn osi_conn; @@ -59,6 +61,7 @@ struct obdfs_inode_info; extern struct file_operations obdfs_file_ops; extern struct inode_operations obdfs_inode_ops; +extern struct inode_operations obdfs_symlink_inode_operations; static inline struct obd_ops *iops(struct inode *i) {