RDMA/nes: Fix for BUG_ON due to adding already-pending timer
[cascardo/linux.git] / fs / file_table.c
index dac6792..a72bf9d 100644 (file)
@@ -36,7 +36,7 @@ struct files_stat_struct files_stat = {
        .max_files = NR_FILE
 };
 
-DEFINE_LGLOCK(files_lglock);
+DEFINE_STATIC_LGLOCK(files_lglock);
 
 /* SLAB cache for file structures */
 static struct kmem_cache *filp_cachep __read_mostly;