|
@@ -477,7 +477,7 @@ static struct inode *hugetlbfs_get_root(struct super_block *sb,
|
|
* annotation because huge_pmd_share() does an allocation under
|
|
* annotation because huge_pmd_share() does an allocation under
|
|
* i_mmap_mutex.
|
|
* 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,
|
|
static struct inode *hugetlbfs_get_inode(struct super_block *sb,
|
|
struct inode *dir,
|
|
struct inode *dir,
|