]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mm-support-more-pagesizes-for-map_hugetlb-shm_hugetlb-v7-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Nov 2012 03:04:21 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Nov 2012 04:54:58 +0000 (15:54 +1100)
cleanups

Cc: Andi Kleen <ak@linux.intel.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hugetlbfs/inode.c

index f33227504387847f7a2ec35dc8c8908ae9156909..5cd6f45cc6bf81488838269fc933258cd76791e5 100644 (file)
@@ -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);