]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/dcache.c
[PATCH] lockdep: locking init debugging improvement
[mirror_ubuntu-zesty-kernel.git] / fs / dcache.c
index c6e3535be1928663ad183405336fcdb7a62507f3..bec4de176c811f815a1f1668662a21c7ef1d6728 100644 (file)
@@ -38,7 +38,7 @@ int sysctl_vfs_cache_pressure __read_mostly = 100;
 EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
 
  __cacheline_aligned_in_smp DEFINE_SPINLOCK(dcache_lock);
-static seqlock_t rename_lock __cacheline_aligned_in_smp = SEQLOCK_UNLOCKED;
+static __cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
 
 EXPORT_SYMBOL(dcache_lock);