Whamcloud - gitweb
LU-2675 llite: remove dead code
[fs/lustre-release.git] / lustre / llite / llite_capa.c
index 3b76920..e5effcf 100644 (file)
@@ -69,6 +69,8 @@ static unsigned long long ll_capa_renewal_noent = 0;
 static unsigned long long ll_capa_renewal_failed = 0;
 static unsigned long long ll_capa_renewal_retries = 0;
 
+static int ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa);
+
 static inline void update_capa_timer(struct obd_capa *ocapa, cfs_time_t expiry)
 {
         if (cfs_time_before(expiry, ll_capa_timer.expires) ||
@@ -521,7 +523,7 @@ static inline void delay_capa_renew(struct obd_capa *oc, cfs_time_t delay)
         oc->c_expiry = cfs_time_add(oc->c_expiry, cfs_time_seconds(delay));
 }
 
-int ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa)
+static int ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa)
 {
         struct inode *inode = ocapa->u.cli.inode;
         int rc = 0;