OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/5] nfs: few cleanup patches inspired by sparse
[PATCH 5/5] nfs: include internah.h in getroot.h [message #48190 is a reply to message #48185] Tue, 02 October 2012 10:19 Go to previous message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
Sparse warning:
fs/nfs/nfs4getroot.c:11:5: warning: symbol 'nfs4_get_rootfh' was not declared.
Should it be static?

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
---
fs/nfs/getroot.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c
index 4654ced..033803c 100644
--- a/fs/nfs/getroot.c
+++ b/fs/nfs/getroot.c
@@ -32,6 +32,8 @@

#include <asm/uaccess.h>

+#include "internal.h"
+
#define NFSDBG_FACILITY NFSDBG_CLIENT

/*
 
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 02:26:42 GMT 2024

Total time taken to generate the page: 0.03455 seconds