diff options
author | Denis Vlasenko <vda@ilport.com.ua> | 2006-03-25 06:07:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:56 -0500 |
commit | 11b8448751ba114416c63899638a8e473ebd21e7 (patch) | |
tree | 18ae22ae2a30a35729881ea5b05f7dca12c4439c /fs/minix/inode.c | |
parent | d4eb82c783992551c574580eb55fddc8bb006ad0 (diff) |
[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>
Diffstat (limited to 'fs/minix/inode.c')
-rw-r--r-- | fs/minix/inode.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c index d9ffc43fee59..2dcccf1d1b7f 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c | |||
@@ -127,11 +127,11 @@ static int minix_remount (struct super_block * sb, int * flags, char * data) | |||
127 | mark_buffer_dirty(sbi->s_sbh); | 127 | mark_buffer_dirty(sbi->s_sbh); |
128 | 128 | ||
129 | if (!(sbi->s_mount_state & MINIX_VALID_FS)) | 129 | if (!(sbi->s_mount_state & MINIX_VALID_FS)) |
130 | printk ("MINIX-fs warning: remounting unchecked fs, " | 130 | printk("MINIX-fs warning: remounting unchecked fs, " |
131 | "running fsck is recommended.\n"); | 131 | "running fsck is recommended\n"); |
132 | else if ((sbi->s_mount_state & MINIX_ERROR_FS)) | 132 | else if ((sbi->s_mount_state & MINIX_ERROR_FS)) |
133 | printk ("MINIX-fs warning: remounting fs with errors, " | 133 | printk("MINIX-fs warning: remounting fs with errors, " |
134 | "running fsck is recommended.\n"); | 134 | "running fsck is recommended\n"); |
135 | } | 135 | } |
136 | return 0; | 136 | return 0; |
137 | } | 137 | } |
@@ -245,11 +245,11 @@ static int minix_fill_super(struct super_block *s, void *data, int silent) | |||
245 | mark_buffer_dirty(bh); | 245 | mark_buffer_dirty(bh); |
246 | } | 246 | } |
247 | if (!(sbi->s_mount_state & MINIX_VALID_FS)) | 247 | if (!(sbi->s_mount_state & MINIX_VALID_FS)) |
248 | printk ("MINIX-fs: mounting unchecked file system, " | 248 | printk("MINIX-fs: mounting unchecked file system, " |
249 | "running fsck is recommended.\n"); | 249 | "running fsck is recommended\n"); |
250 | else if (sbi->s_mount_state & MINIX_ERROR_FS) | 250 | else if (sbi->s_mount_state & MINIX_ERROR_FS) |
251 | printk ("MINIX-fs: mounting file system with errors, " | 251 | printk("MINIX-fs: mounting file system with errors, " |
252 | "running fsck is recommended.\n"); | 252 | "running fsck is recommended\n"); |
253 | return 0; | 253 | return 0; |
254 | 254 | ||
255 | out_iput: | 255 | out_iput: |
@@ -273,19 +273,19 @@ out_no_bitmap: | |||
273 | 273 | ||
274 | out_no_map: | 274 | out_no_map: |
275 | if (!silent) | 275 | if (!silent) |
276 | printk ("MINIX-fs: can't allocate map\n"); | 276 | printk("MINIX-fs: can't allocate map\n"); |
277 | goto out_release; | 277 | goto out_release; |
278 | 278 | ||
279 | out_no_fs: | 279 | out_no_fs: |
280 | if (!silent) | 280 | if (!silent) |
281 | printk("VFS: Can't find a Minix or Minix V2 filesystem on device " | 281 | printk("VFS: Can't find a Minix or Minix V2 filesystem " |
282 | "%s.\n", s->s_id); | 282 | "on device %s\n", s->s_id); |
283 | out_release: | 283 | out_release: |
284 | brelse(bh); | 284 | brelse(bh); |
285 | goto out; | 285 | goto out; |
286 | 286 | ||
287 | out_bad_hblock: | 287 | out_bad_hblock: |
288 | printk("MINIX-fs: blocksize too small for device.\n"); | 288 | printk("MINIX-fs: blocksize too small for device\n"); |
289 | goto out; | 289 | goto out; |
290 | 290 | ||
291 | out_bad_sb: | 291 | out_bad_sb: |
@@ -524,7 +524,7 @@ int minix_sync_inode(struct inode * inode) | |||
524 | sync_dirty_buffer(bh); | 524 | sync_dirty_buffer(bh); |
525 | if (buffer_req(bh) && !buffer_uptodate(bh)) | 525 | if (buffer_req(bh) && !buffer_uptodate(bh)) |
526 | { | 526 | { |
527 | printk ("IO error syncing minix inode [%s:%08lx]\n", | 527 | printk("IO error syncing minix inode [%s:%08lx]\n", |
528 | inode->i_sb->s_id, inode->i_ino); | 528 | inode->i_sb->s_id, inode->i_ino); |
529 | err = -1; | 529 | err = -1; |
530 | } | 530 | } |