OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/5] nfs: few cleanup patches inspired by sparse
[PATCH 3/5] nfs: declare nfs_xdev_mount as static [message #48188 is a reply to message #48185] Tue, 02 October 2012 10:19 Go to previous messageGo to previous message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
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>
---
fs/nfs/super.c | 2 +-
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)
{
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC 0/4] bypass charges if memcg is not used
Next Topic: [PATCH v3 00/16] slab accounting for memcg
Goto Forum:
  


Current Time: Mon Nov 04 01:49:48 GMT 2024

Total time taken to generate the page: 0.03596 seconds