lkml.org 
[lkml]   [2011]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fscache/object.c: local functions should be static
Date
Quiets the sparse noise:

warning: symbol 'fscache_dequeue_object' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Howells <dhowells@redhat.com>

---

diff --git a/fs/fscache/object.c b/fs/fscache/object.c
index b6b897c..250881d 100644
--- a/fs/fscache/object.c
+++ b/fs/fscache/object.c
@@ -834,7 +834,7 @@ static void fscache_enqueue_dependents(struct fscache_object *object)
* remove an object from whatever queue it's waiting on
* - the caller must hold object->lock
*/
-void fscache_dequeue_object(struct fscache_object *object)
+static void fscache_dequeue_object(struct fscache_object *object)
{
_enter("{OBJ%x}", object->debug_id);


\
 
 \ /
  Last update: 2011-09-24 00:51    [W:0.033 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site