From 3f03d900d14e65c207f6c02a0078469b8849d73a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 9 Nov 2012 14:04:21 +1100 Subject: [PATCH] mm-support-more-pagesizes-for-map_hugetlb-shm_hugetlb-v7-fix cleanups Cc: Andi Kleen Cc: Hillf Danton Cc: KAMEZAWA Hiroyuki Cc: Michael Kerrisk Cc: Rik van Riel Signed-off-by: Andrew Morton --- fs/hugetlbfs/inode.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index f33227504387..5cd6f45cc6bf 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -1049,7 +1049,7 @@ static int __init init_hugetlbfs_fs(void) goto out; i = 0; - for_each_hstate (h) { + for_each_hstate(h) { char buf[50]; unsigned ps_kb = 1U << (h->order + PAGE_SHIFT - 10); @@ -1058,9 +1058,8 @@ static int __init init_hugetlbfs_fs(void) buf); if (IS_ERR(hugetlbfs_vfsmount[i])) { - pr_err( - "hugetlb: Cannot mount internal hugetlbfs for page size %uK", - ps_kb); + pr_err("hugetlb: Cannot mount internal hugetlbfs for " + "page size %uK", ps_kb); error = PTR_ERR(hugetlbfs_vfsmount[i]); hugetlbfs_vfsmount[i] = NULL; } @@ -1090,7 +1089,7 @@ static void __exit exit_hugetlbfs_fs(void) rcu_barrier(); kmem_cache_destroy(hugetlbfs_inode_cachep); i = 0; - for_each_hstate (h) + for_each_hstate(h) kern_unmount(hugetlbfs_vfsmount[i++]); unregister_filesystem(&hugetlbfs_fs_type); bdi_destroy(&hugetlbfs_backing_dev_info); -- 2.39.5