summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/auth-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/server/src/auth-cache.c')
-rw-r--r--xlators/nfs/server/src/auth-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/auth-cache.c b/xlators/nfs/server/src/auth-cache.c
index 2d9af4e8c79..730e0a97d20 100644
--- a/xlators/nfs/server/src/auth-cache.c
+++ b/xlators/nfs/server/src/auth-cache.c
@@ -184,7 +184,7 @@ out:
*
* @return: true when the auth_cache_entry is expired, false otherwise.
*/
-static inline int
+static int
_auth_cache_expired (struct auth_cache *cache, struct auth_cache_entry *entry)
{
return ((time (NULL) - entry->timestamp) > cache->ttl_sec);