mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
[PATCH] fix messages in fs/minix
Believe it or not, but in fs/minix/*, the oldest filesystem in the kernel, something still can be fixed: printk("new_inode: bit already set"); "\n" is missing! While at it, I also removed periods from the end of error messages and made capitalization uniform. Also s/i-node/inode/, s/printk (/printk(/ Signed-ff-by: Denis Vlasenko <vda@ilport.com.ua> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d4eb82c783
commit
11b8448751
4 changed files with 22 additions and 22 deletions
|
@ -127,11 +127,11 @@ static int minix_remount (struct super_block * sb, int * flags, char * data)
|
|||
mark_buffer_dirty(sbi->s_sbh);
|
||||
|
||||
if (!(sbi->s_mount_state & MINIX_VALID_FS))
|
||||
printk ("MINIX-fs warning: remounting unchecked fs, "
|
||||
"running fsck is recommended.\n");
|
||||
printk("MINIX-fs warning: remounting unchecked fs, "
|
||||
"running fsck is recommended\n");
|
||||
else if ((sbi->s_mount_state & MINIX_ERROR_FS))
|
||||
printk ("MINIX-fs warning: remounting fs with errors, "
|
||||
"running fsck is recommended.\n");
|
||||
printk("MINIX-fs warning: remounting fs with errors, "
|
||||
"running fsck is recommended\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -245,11 +245,11 @@ static int minix_fill_super(struct super_block *s, void *data, int silent)
|
|||
mark_buffer_dirty(bh);
|
||||
}
|
||||
if (!(sbi->s_mount_state & MINIX_VALID_FS))
|
||||
printk ("MINIX-fs: mounting unchecked file system, "
|
||||
"running fsck is recommended.\n");
|
||||
printk("MINIX-fs: mounting unchecked file system, "
|
||||
"running fsck is recommended\n");
|
||||
else if (sbi->s_mount_state & MINIX_ERROR_FS)
|
||||
printk ("MINIX-fs: mounting file system with errors, "
|
||||
"running fsck is recommended.\n");
|
||||
printk("MINIX-fs: mounting file system with errors, "
|
||||
"running fsck is recommended\n");
|
||||
return 0;
|
||||
|
||||
out_iput:
|
||||
|
@ -273,19 +273,19 @@ out_no_bitmap:
|
|||
|
||||
out_no_map:
|
||||
if (!silent)
|
||||
printk ("MINIX-fs: can't allocate map\n");
|
||||
printk("MINIX-fs: can't allocate map\n");
|
||||
goto out_release;
|
||||
|
||||
out_no_fs:
|
||||
if (!silent)
|
||||
printk("VFS: Can't find a Minix or Minix V2 filesystem on device "
|
||||
"%s.\n", s->s_id);
|
||||
printk("VFS: Can't find a Minix or Minix V2 filesystem "
|
||||
"on device %s\n", s->s_id);
|
||||
out_release:
|
||||
brelse(bh);
|
||||
goto out;
|
||||
|
||||
out_bad_hblock:
|
||||
printk("MINIX-fs: blocksize too small for device.\n");
|
||||
printk("MINIX-fs: blocksize too small for device\n");
|
||||
goto out;
|
||||
|
||||
out_bad_sb:
|
||||
|
@ -524,7 +524,7 @@ int minix_sync_inode(struct inode * inode)
|
|||
sync_dirty_buffer(bh);
|
||||
if (buffer_req(bh) && !buffer_uptodate(bh))
|
||||
{
|
||||
printk ("IO error syncing minix inode [%s:%08lx]\n",
|
||||
printk("IO error syncing minix inode [%s:%08lx]\n",
|
||||
inode->i_sb->s_id, inode->i_ino);
|
||||
err = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue