[PATCH] fscache/object.c: local functions should be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quiets the sparse noise:

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

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>

---

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

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux