Whamcloud - gitweb
LU-1346 libcfs: replace libcfs wrappers with kernel API
[fs/lustre-release.git] / lustre / lov / lov_pack.c
index 9840c2a..8b07dd9 100644 (file)
@@ -316,7 +316,7 @@ int lov_alloc_memmd(struct lov_stripe_md **lsmp, __u16 stripe_count,
         }
 
        cfs_atomic_set(&(*lsmp)->lsm_refc, 1);
-        cfs_spin_lock_init(&(*lsmp)->lsm_lock);
+       spin_lock_init(&(*lsmp)->lsm_lock);
         (*lsmp)->lsm_magic = magic;
         (*lsmp)->lsm_stripe_count = stripe_count;
         (*lsmp)->lsm_maxbytes = LUSTRE_STRIPE_MAXBYTES * stripe_count;