Whamcloud - gitweb
1. Adding iput(cache_inode) in smfs_clear_inode for clearing cache inode according...
[fs/lustre-release.git] / lustre / ldlm / l_lock.c
index 262f196..2a4f832 100644 (file)
@@ -118,7 +118,7 @@ int l_has_lock(struct lustre_lock *lock)
 #include <linux/lustre_version.h>
 void l_check_no_ns_lock(struct ldlm_namespace *ns)
 {
-        static long next_msg;
+        static unsigned long next_msg;
 
         if (l_has_lock(&ns->ns_lock) && time_after(jiffies, next_msg)) {
                 CERROR("namespace %s lock held during RPCs; tell phil\n",