summaryrefslogtreecommitdiff
path: root/fs/fscache
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-04-04 15:41:26 +0300
committerDavid Howells <dhowells@redhat.com>2018-04-04 15:41:26 +0300
commitbfa3837ec3ccda3138ce9b798107aadcc6d2e78c (patch)
tree5a2ec2b12a37684b214f8395bd9f9fee8bb5685b /fs/fscache
parent678edd09c24f8a47ed88b3e172e05cc4f611bfcd (diff)
downloadlinux-bfa3837ec3ccda3138ce9b798107aadcc6d2e78c.tar.xz
fscache, cachefiles: Fix checker warnings
Fix a couple of checker warnings in fscache and cachefiles: (1) fscache_n_op_requeue is never used, so get rid of it. (2) cachefiles_uncache_page() is passed in a lock that it releases, so this needs annotating. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/fscache')
-rw-r--r--fs/fscache/stats.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fscache/stats.c b/fs/fscache/stats.c
index 7ac6e839b065..fcc8c2f2690e 100644
--- a/fs/fscache/stats.c
+++ b/fs/fscache/stats.c
@@ -21,7 +21,6 @@
atomic_t fscache_n_op_pend;
atomic_t fscache_n_op_run;
atomic_t fscache_n_op_enqueue;
-atomic_t fscache_n_op_requeue;
atomic_t fscache_n_op_deferred_release;
atomic_t fscache_n_op_initialised;
atomic_t fscache_n_op_release;