diff options
| -rw-r--r-- | fs/cifs/cifs_debug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 7f19f2547d01..6f5d81f5eacb 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
| @@ -280,6 +280,14 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset, | |||
| 280 | smBufAllocCount.counter,cifs_min_small); | 280 | smBufAllocCount.counter,cifs_min_small); |
| 281 | length += item_length; | 281 | length += item_length; |
| 282 | buf += item_length; | 282 | buf += item_length; |
| 283 | #ifdef CONFIG_CIFS_STATS2 | ||
| 284 | item_length = sprintf(buf, "Total Large %d Small %d Allocations\n", | ||
| 285 | atomic_read(&totBufAllocCount), | ||
| 286 | atomic_read(&totSmBufAllocCount)); | ||
| 287 | length += item_length; | ||
| 288 | buf += item_length; | ||
| 289 | #endif /* CONFIG_CIFS_STATS2 */ | ||
| 290 | |||
| 283 | item_length = | 291 | item_length = |
| 284 | sprintf(buf,"Operations (MIDs): %d\n", | 292 | sprintf(buf,"Operations (MIDs): %d\n", |
| 285 | midCount.counter); | 293 | midCount.counter); |
