summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-10-02 14:19:04 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 08:17:03 -0700
commit3dd4f8ef7b26d5d4ada6e2f4b92d99b5e2255f72 (patch)
tree89f7e55d7d02e952eeb11259bae6bff1ca6e118e /fs/nfs
parent0b37d20ca225f57fff9237bc75d11d3995c8fed6 (diff)
downloadop-kernel-dev-3dd4f8ef7b26d5d4ada6e2f4b92d99b5e2255f72.zip
op-kernel-dev-3dd4f8ef7b26d5d4ada6e2f4b92d99b5e2255f72.tar.gz
nfs: declare nfs_xdev_mount as static
Sparse warning: fs/nfs/super.c:2517:15: warning: symbol 'nfs_xdev_mount' was not declared. Should it be static? Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index a719bc0..b4079bb 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2514,7 +2514,7 @@ EXPORT_SYMBOL_GPL(nfs_kill_super);
/*
* Clone an NFS2/3/4 server record on xdev traversal (FSID-change)
*/
-struct dentry *
+static struct dentry *
nfs_xdev_mount(struct file_system_type *fs_type, int flags,
const char *dev_name, void *raw_data)
{
OpenPOWER on IntegriCloud