Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include/linux/obdfs.h: add symlink_inode_operations, prototypes
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
obdfs.h
diff --git
a/lustre/include/linux/obdfs.h
b/lustre/include/linux/obdfs.h
index
d583530
..
ca8ebfb
100644
(file)
--- 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);
/* 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 */
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);
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;
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 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)
{
static inline struct obd_ops *iops(struct inode *i)
{