[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201109231546.58222.hartleys@visionengravers.com>
Date: Fri, 23 Sep 2011 15:46:58 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <linux-cachefs@...hat.com>, <dhowells@...hat.com>
Subject: [PATCH] fscache/object.c: local functions should be static
Quiets the sparse noise:
warning: symbol 'fscache_dequeue_object' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: David Howells <dhowells@...hat.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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists