diff options
Diffstat (limited to 'fs/jfs/super.c')
-rw-r--r-- | fs/jfs/super.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 143bcd1d5eaa..9c1c6e0e633d 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c | |||
@@ -4,16 +4,16 @@ | |||
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
7 | * the Free Software Foundation; either version 2 of the License, or | 7 | * the Free Software Foundation; either version 2 of the License, or |
8 | * (at your option) any later version. | 8 | * (at your option) any later version. |
9 | * | 9 | * |
10 | * This program is distributed in the hope that it will be useful, | 10 | * This program is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
13 | * the GNU General Public License for more details. | 13 | * the GNU General Public License for more details. |
14 | * | 14 | * |
15 | * You should have received a copy of the GNU General Public License | 15 | * You should have received a copy of the GNU General Public License |
16 | * along with this program; if not, write to the Free Software | 16 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ | 18 | */ |
19 | 19 | ||
@@ -82,7 +82,7 @@ static void jfs_handle_error(struct super_block *sb) | |||
82 | "as read-only\n", | 82 | "as read-only\n", |
83 | sb->s_id); | 83 | sb->s_id); |
84 | sb->s_flags |= MS_RDONLY; | 84 | sb->s_flags |= MS_RDONLY; |
85 | } | 85 | } |
86 | 86 | ||
87 | /* nothing is done for continue beyond marking the superblock dirty */ | 87 | /* nothing is done for continue beyond marking the superblock dirty */ |
88 | } | 88 | } |
@@ -422,7 +422,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent) | |||
422 | 422 | ||
423 | sbi = kzalloc(sizeof (struct jfs_sb_info), GFP_KERNEL); | 423 | sbi = kzalloc(sizeof (struct jfs_sb_info), GFP_KERNEL); |
424 | if (!sbi) | 424 | if (!sbi) |
425 | return -ENOSPC; | 425 | return -ENOMEM; |
426 | sb->s_fs_info = sbi; | 426 | sb->s_fs_info = sbi; |
427 | sbi->sb = sb; | 427 | sbi->sb = sb; |
428 | sbi->uid = sbi->gid = sbi->umask = -1; | 428 | sbi->uid = sbi->gid = sbi->umask = -1; |
@@ -775,7 +775,7 @@ static int __init init_jfs_fs(void) | |||
775 | int rc; | 775 | int rc; |
776 | 776 | ||
777 | jfs_inode_cachep = | 777 | jfs_inode_cachep = |
778 | kmem_cache_create("jfs_ip", sizeof(struct jfs_inode_info), 0, | 778 | kmem_cache_create("jfs_ip", sizeof(struct jfs_inode_info), 0, |
779 | SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, | 779 | SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
780 | init_once, NULL); | 780 | init_once, NULL); |
781 | if (jfs_inode_cachep == NULL) | 781 | if (jfs_inode_cachep == NULL) |