diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 2a13a2bac8f1..ba90903909a6 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -954,6 +954,12 @@ init_cifs(void) | |||
954 | atomic_set(&tconInfoReconnectCount, 0); | 954 | atomic_set(&tconInfoReconnectCount, 0); |
955 | 955 | ||
956 | atomic_set(&bufAllocCount, 0); | 956 | atomic_set(&bufAllocCount, 0); |
957 | atomic_set(&smBufAllocCount, 0); | ||
958 | #ifdef CONFIG_CIFS_STATS2 | ||
959 | atomic_set(&totBufAllocCount, 0); | ||
960 | atomic_set(&totSmBufAllocCount, 0); | ||
961 | #endif /* CONFIG_CIFS_STATS2 */ | ||
962 | |||
957 | atomic_set(&midCount, 0); | 963 | atomic_set(&midCount, 0); |
958 | GlobalCurrentXid = 0; | 964 | GlobalCurrentXid = 0; |
959 | GlobalTotalActiveXid = 0; | 965 | GlobalTotalActiveXid = 0; |