X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Ffile_table.c;h=a72bf9ddd0d2b56781bc84b591f45ff4e4627a93;hb=d025e9e2b890db679f1246037bf65bd4be512627;hp=dac67923330f76eff9f4f961d73e5a3b1f1053db;hpb=c7a6ced9d8e8411bdafe83998474d185a79badc3;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/file_table.c b/fs/file_table.c index dac67923330f..a72bf9ddd0d2 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -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;