From: Adrian Bunk NFS: make nfs_follow_referral() static This patch makes the needlessly global nfs_follow_referral() static. Signed-off-by: Adrian Bunk Signed-off-by: Trond Myklebust --- fs/nfs/inode.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 2368ec4..c0fa6e8 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -2677,8 +2677,9 @@ static struct file_system_type nfs_refer * @addr - host addr of new server * */ -struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, - const struct dentry *dentry, struct nfs4_fs_locations *locations) +static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, + const struct dentry *dentry, + struct nfs4_fs_locations *locations) { struct vfsmount *mnt = ERR_PTR(-ENOENT); struct nfs_clone_mount mountdata = {