#include <linux/obd_support.h> /* for ENTRY and EXIT only */
#include <linux/obdfs.h>
+/*
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...
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)
{
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;