mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fscache/object.c: local functions should be static
@ 2011-09-23 22:46 H Hartley Sweeten
  0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2011-09-23 22:46 UTC (permalink / raw)
  To: Linux Kernel; +Cc: linux-cachefs, dhowells

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);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-23 22:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 22:46 [PATCH] fscache/object.c: local functions should be static H Hartley Sweeten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®