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
FS-Cache: Count the number of initialised operations
[firefly-linux-kernel-4.4.55.git]
/
fs
/
fscache
/
operation.c
diff --git
a/fs/fscache/operation.c
b/fs/fscache/operation.c
index 61a6e78b85fa7ac77cc0114c3caa8d4beb8049af..9761df4fc2ab3ce87404dea97f8d1639ab90312c 100644
(file)
--- a/
fs/fscache/operation.c
+++ b/
fs/fscache/operation.c
@@
-39,6
+39,7
@@
void fscache_operation_init(struct fscache_operation *op,
op->processor = processor;
op->release = release;
INIT_LIST_HEAD(&op->pend_link);
+ fscache_stat(&fscache_n_op_initialised);
}
EXPORT_SYMBOL(fscache_operation_init);