projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: remove initialization of static ints
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
lustre
/
lustre
/
libcfs
/
tracefile.c
diff --git
a/drivers/staging/lustre/lustre/libcfs/tracefile.c
b/drivers/staging/lustre/lustre/libcfs/tracefile.c
index f8d8a2f7069181a8bcd93462b774634a7ff52763..c86394f7f4d9c32294eeb52a650255e4c24d208d 100644
(file)
--- a/
drivers/staging/lustre/lustre/libcfs/tracefile.c
+++ b/
drivers/staging/lustre/lustre/libcfs/tracefile.c
@@
-53,7
+53,7
@@
char cfs_tracefile[TRACEFILE_NAME_SIZE];
long long cfs_tracefile_size = CFS_TRACEFILE_SIZE;
static struct tracefiled_ctl trace_tctl;
struct mutex cfs_trace_thread_mutex;
-static int thread_running
= 0
;
+static int thread_running;
static atomic_t cfs_tage_allocated = ATOMIC_INIT(0);