summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Sampson <mike@sambodata.com>2014-04-05 09:01:25 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-16 20:24:31 -0700
commitd130c00069f53651edf9067baa713fb5044b9b0a (patch)
tree7e7d3baa442e8f54f9e6f647cf98c011f5e722b5
parentdf3c9577f41c90a718616bb83b91fbd30f0eeeb5 (diff)
Staging: lustre: mark a variable static in workitem.c
This fixes a sparse warning: warning: symbol 'cfs_wi_data' was not declared. Should it be static? Signed-off-by: Mike Sampson <mike@sambodata.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/libcfs/workitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/libcfs/workitem.c b/drivers/staging/lustre/lustre/libcfs/workitem.c
index ba16fd5db704..0a03bf7ba3eb 100644
--- a/drivers/staging/lustre/lustre/libcfs/workitem.c
+++ b/drivers/staging/lustre/lustre/libcfs/workitem.c
@@ -75,7 +75,7 @@ typedef struct cfs_wi_sched {
char ws_name[CFS_WS_NAME_LEN];
} cfs_wi_sched_t;
-struct cfs_workitem_data {
+static struct cfs_workitem_data {
/** serialize */
spinlock_t wi_glock;
/** list of all schedulers */