Whamcloud - gitweb
LU-812 kernel: remove smp_lock.h
[fs/lustre-release.git] / lustre / obdclass / obd_mount.c
index 91008c9..e2cd921 100644 (file)
@@ -55,6 +55,9 @@
 #include <lustre_log.h>
 #include <lustre_disk.h>
 #include <lustre_param.h>
+#ifdef HAVE_KERNEL_LOCKED
+#include <linux/smp_lock.h>
+#endif
 
 static int (*client_fill_super)(struct super_block *sb,
                                 struct vfsmount *mnt) = NULL;