[PATCH] dlm/ast.c: include ast.h to pickup function definitions

From: H Hartley Sweeten
Date: Fri Sep 23 2011 - 16:29:13 EST


This quiets the following sparse noise:

warning: symbol 'dlm_add_lkb_callback' was not declared. Should it be static?
warning: symbol 'dlm_rem_lkb_callback' was not declared. Should it be static?
warning: symbol 'dlm_add_cb' was not declared. Should it be static?
warning: symbol 'dlm_callback_work' was not declared. Should it be static?
warning: symbol 'dlm_callback_start' was not declared. Should it be static?
warning: symbol 'dlm_callback_stop' was not declared. Should it be static?
warning: symbol 'dlm_callback_suspend' was not declared. Should it be static?
warning: symbol 'dlm_callback_resume' was not declared. Should it be static?

Cc: Christine Caulfield <ccaulfie@xxxxxxxxxx>
Cc: David Teigland <teigland@xxxxxxxxxx>

---

diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index 90e5997..43f33c0 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -12,6 +12,7 @@
******************************************************************************/

#include "dlm_internal.h"
+#include "ast.h"
#include "lock.h"
#include "user.h"

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/