From: Fabian Frederick Date: Wed, 4 Jun 2014 23:10:39 +0000 (-0700) Subject: fs/hugetlbfs/inode.c: add static to hugetlbfs_i_mmap_mutex_key X-Git-Tag: v3.16-rc1~47^2~16^2~99 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=422b2448fc86bf678f5d398389e41e0f169541d5;p=~emulex%2Finfiniband.git fs/hugetlbfs/inode.c: add static to hugetlbfs_i_mmap_mutex_key hugetlbfs_i_mmap_mutex_key is only used in inode.c Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 261182468ea..b24275914bd 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -477,7 +477,7 @@ static struct inode *hugetlbfs_get_root(struct super_block *sb, * annotation because huge_pmd_share() does an allocation under * i_mmap_mutex. */ -struct lock_class_key hugetlbfs_i_mmap_mutex_key; +static struct lock_class_key hugetlbfs_i_mmap_mutex_key; static struct inode *hugetlbfs_get_inode(struct super_block *sb, struct inode *dir,