X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdfs%2Fsymlink.c;fp=lustre%2Fobdfs%2Fsymlink.c;h=45b176d8be8b037ac3b326d8956529bfec5a2cfa;hp=c933a1a773cadf9ebc671729c8e96be9da4f0a3e;hb=8688197f18b85befc95d8bb812c71cc6bec47284;hpb=8d12db55d6f4ce1adbe1801e2c559f25a2dfd26c diff --git a/lustre/obdfs/symlink.c b/lustre/obdfs/symlink.c index c933a1a..45b176d 100644 --- a/lustre/obdfs/symlink.c +++ b/lustre/obdfs/symlink.c @@ -30,8 +30,10 @@ #include /* for ENTRY and EXIT only */ #include +/* static int obdfs_readlink (struct dentry *, char *, int); static struct dentry *obdfs_follow_link(struct dentry *, struct dentry *, unsigned int); +*/ /* * symlinks can't do much... @@ -57,7 +59,8 @@ struct inode_operations obdfs_symlink_inode_operations = { NULL /* revalidate */ }; -static struct dentry * obdfs_follow_link(struct dentry * dentry, +/* static */ +struct dentry * obdfs_follow_link(struct dentry * dentry, struct dentry *base, unsigned int follow) { @@ -87,7 +90,8 @@ static struct dentry * obdfs_follow_link(struct dentry * dentry, return base; } -static int obdfs_readlink (struct dentry * dentry, char * buffer, int buflen) +/* static */ +int obdfs_readlink (struct dentry * dentry, char * buffer, int buflen) { struct inode *inode = dentry->d_inode; struct page *page = NULL;