Commit 422b2448fc86bf678f5d398389e41e0f169541d5
Committed by
Linus Torvalds
1 parent
4be89a3460
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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 <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/hugetlbfs/inode.c
... | ... | @@ -477,7 +477,7 @@ |
477 | 477 | * annotation because huge_pmd_share() does an allocation under |
478 | 478 | * i_mmap_mutex. |
479 | 479 | */ |
480 | -struct lock_class_key hugetlbfs_i_mmap_mutex_key; | |
480 | +static struct lock_class_key hugetlbfs_i_mmap_mutex_key; | |
481 | 481 | |
482 | 482 | static struct inode *hugetlbfs_get_inode(struct super_block *sb, |
483 | 483 | struct inode *dir, |