Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 422b2448 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

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: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4be89a34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,