aboutsummaryrefslogtreecommitdiff
path: root/module/os/linux/zfs/zpl_inode.c
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-06-15 18:30:37 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2020-06-18 19:20:38 +0000
commit65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (patch)
tree4740b896f8b5fc114ae9a96c6581776799ffeb3a /module/os/linux/zfs/zpl_inode.c
parent1fa5c7af3314b4c556bd86e3a49e3497a5ed72ed (diff)
downloadsrc-65c7cc49bfcf49d38fc84552a17d7e8a3268e58e.tar.gz
src-65c7cc49bfcf49d38fc84552a17d7e8a3268e58e.zip
Diffstat (limited to 'module/os/linux/zfs/zpl_inode.c')
-rw-r--r--module/os/linux/zfs/zpl_inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/os/linux/zfs/zpl_inode.c b/module/os/linux/zfs/zpl_inode.c
index c1b5825748c9..f3b97a22074c 100644
--- a/module/os/linux/zfs/zpl_inode.c
+++ b/module/os/linux/zfs/zpl_inode.c
@@ -518,7 +518,7 @@ zpl_get_link_common(struct dentry *dentry, struct inode *ip, char **link)
}
#if defined(HAVE_GET_LINK_DELAYED)
-const char *
+static const char *
zpl_get_link(struct dentry *dentry, struct inode *inode,
struct delayed_call *done)
{
@@ -537,7 +537,7 @@ zpl_get_link(struct dentry *dentry, struct inode *inode,
return (link);
}
#elif defined(HAVE_GET_LINK_COOKIE)
-const char *
+static const char *
zpl_get_link(struct dentry *dentry, struct inode *inode, void **cookie)
{
char *link = NULL;
@@ -553,7 +553,7 @@ zpl_get_link(struct dentry *dentry, struct inode *inode, void **cookie)
return (*cookie = link);
}
#elif defined(HAVE_FOLLOW_LINK_COOKIE)
-const char *
+static const char *
zpl_follow_link(struct dentry *dentry, void **cookie)
{
char *link = NULL;