aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/cache_lib.h')
-rw-r--r--fs/nfs/cache_lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/cache_lib.h b/fs/nfs/cache_lib.h
index 4116d2c3f52f..220ee409abc4 100644
--- a/fs/nfs/cache_lib.h
+++ b/fs/nfs/cache_lib.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Helper routines for the NFS client caches
*
@@ -15,7 +16,7 @@ struct nfs_cache_defer_req {
struct cache_req req;
struct cache_deferred_req deferred_req;
struct completion completion;
- atomic_t count;
+ refcount_t count;
};
extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name);