aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2010-08-07 06:30:03 -0400
committerJiri Kosina <jkosina@suse.cz>2010-08-09 05:25:17 -0400
commit426d31071ac476ea62c62656b242930c17b58c00 (patch)
tree9c68a1adc490e903c5a9cd192f54caa204bdc18d /fs
parenteef35c2d41ddcc653c20d26b977acaa45c811e1f (diff)
fix printk typo 'faild'
Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/exofs/inode.c14
-rw-r--r--fs/exofs/ios.c10
-rw-r--r--fs/jfs/jfs_mount.c4
3 files changed, 14 insertions, 14 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c
index 4bb6ef822e46..5862ae87ed29 100644
--- a/fs/exofs/inode.c
+++ b/fs/exofs/inode.c
@@ -508,7 +508,7 @@ static int write_exec(struct page_collect *pcol)
508 508
509 pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); 509 pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL);
510 if (!pcol_copy) { 510 if (!pcol_copy) {
511 EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n"); 511 EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n");
512 ret = -ENOMEM; 512 ret = -ENOMEM;
513 goto err; 513 goto err;
514 } 514 }
@@ -524,7 +524,7 @@ static int write_exec(struct page_collect *pcol)
524 524
525 ret = exofs_oi_write(oi, ios); 525 ret = exofs_oi_write(oi, ios);
526 if (unlikely(ret)) { 526 if (unlikely(ret)) {
527 EXOFS_ERR("write_exec: exofs_oi_write() Faild\n"); 527 EXOFS_ERR("write_exec: exofs_oi_write() Failed\n");
528 goto err; 528 goto err;
529 } 529 }
530 530
@@ -625,7 +625,7 @@ try_again:
625 /* split the request, next loop will start again */ 625 /* split the request, next loop will start again */
626 ret = write_exec(pcol); 626 ret = write_exec(pcol);
627 if (unlikely(ret)) { 627 if (unlikely(ret)) {
628 EXOFS_DBGMSG("write_exec faild => %d", ret); 628 EXOFS_DBGMSG("write_exec failed => %d", ret);
629 goto fail; 629 goto fail;
630 } 630 }
631 631
@@ -709,7 +709,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
709 ret = simple_write_begin(file, mapping, pos, len, flags, pagep, 709 ret = simple_write_begin(file, mapping, pos, len, flags, pagep,
710 fsdata); 710 fsdata);
711 if (ret) { 711 if (ret) {
712 EXOFS_DBGMSG("simple_write_begin faild\n"); 712 EXOFS_DBGMSG("simple_write_begin failed\n");
713 return ret; 713 return ret;
714 } 714 }
715 715
@@ -722,7 +722,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
722 if (ret) { 722 if (ret) {
723 /*SetPageError was done by _readpage. Is it ok?*/ 723 /*SetPageError was done by _readpage. Is it ok?*/
724 unlock_page(page); 724 unlock_page(page);
725 EXOFS_DBGMSG("__readpage_filler faild\n"); 725 EXOFS_DBGMSG("__readpage_filler failed\n");
726 } 726 }
727 } 727 }
728 728
@@ -1112,7 +1112,7 @@ static void create_done(struct exofs_io_state *ios, void *p)
1112 atomic_dec(&sbi->s_curr_pending); 1112 atomic_dec(&sbi->s_curr_pending);
1113 1113
1114 if (unlikely(ret)) { 1114 if (unlikely(ret)) {
1115 EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx", 1115 EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx",
1116 _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); 1116 _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid));
1117 /*TODO: When FS is corrupted creation can fail, object already 1117 /*TODO: When FS is corrupted creation can fail, object already
1118 * exist. Get rid of this asynchronous creation, if exist 1118 * exist. Get rid of this asynchronous creation, if exist
@@ -1232,7 +1232,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync)
1232 1232
1233 args = kzalloc(sizeof(*args), GFP_KERNEL); 1233 args = kzalloc(sizeof(*args), GFP_KERNEL);
1234 if (!args) { 1234 if (!args) {
1235 EXOFS_DBGMSG("Faild kzalloc of args\n"); 1235 EXOFS_DBGMSG("Failed kzalloc of args\n");
1236 return -ENOMEM; 1236 return -ENOMEM;
1237 } 1237 }
1238 1238
diff --git a/fs/exofs/ios.c b/fs/exofs/ios.c
index 4337cad7777b..95921f501f2f 100644
--- a/fs/exofs/ios.c
+++ b/fs/exofs/ios.c
@@ -55,7 +55,7 @@ int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj,
55 55
56 ret = osd_finalize_request(or, 0, cred, NULL); 56 ret = osd_finalize_request(or, 0, cred, NULL);
57 if (unlikely(ret)) { 57 if (unlikely(ret)) {
58 EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", ret); 58 EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", ret);
59 goto out; 59 goto out;
60 } 60 }
61 61
@@ -79,7 +79,7 @@ int exofs_get_io_state(struct exofs_layout *layout,
79 */ 79 */
80 ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL); 80 ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL);
81 if (unlikely(!ios)) { 81 if (unlikely(!ios)) {
82 EXOFS_DBGMSG("Faild kzalloc bytes=%d\n", 82 EXOFS_DBGMSG("Failed kzalloc bytes=%d\n",
83 exofs_io_state_size(layout->s_numdevs)); 83 exofs_io_state_size(layout->s_numdevs));
84 *pios = NULL; 84 *pios = NULL;
85 return -ENOMEM; 85 return -ENOMEM;
@@ -172,7 +172,7 @@ static int exofs_io_execute(struct exofs_io_state *ios)
172 172
173 ret = osd_finalize_request(or, 0, ios->cred, NULL); 173 ret = osd_finalize_request(or, 0, ios->cred, NULL);
174 if (unlikely(ret)) { 174 if (unlikely(ret)) {
175 EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", 175 EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n",
176 ret); 176 ret);
177 return ret; 177 return ret;
178 } 178 }
@@ -365,7 +365,7 @@ static int _add_stripe_unit(struct exofs_io_state *ios, unsigned *cur_pg,
365 365
366 per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); 366 per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size);
367 if (unlikely(!per_dev->bio)) { 367 if (unlikely(!per_dev->bio)) {
368 EXOFS_DBGMSG("Faild to allocate BIO size=%u\n", 368 EXOFS_DBGMSG("Failed to allocate BIO size=%u\n",
369 bio_size); 369 bio_size);
370 return -ENOMEM; 370 return -ENOMEM;
371 } 371 }
@@ -584,7 +584,7 @@ static int _sbi_write_mirror(struct exofs_io_state *ios, int cur_comp)
584 master_dev->bio->bi_max_vecs); 584 master_dev->bio->bi_max_vecs);
585 if (unlikely(!bio)) { 585 if (unlikely(!bio)) {
586 EXOFS_DBGMSG( 586 EXOFS_DBGMSG(
587 "Faild to allocate BIO size=%u\n", 587 "Failed to allocate BIO size=%u\n",
588 master_dev->bio->bi_max_vecs); 588 master_dev->bio->bi_max_vecs);
589 ret = -ENOMEM; 589 ret = -ENOMEM;
590 goto out; 590 goto out;
diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c
index 7b698f2ec45a..9895595fd2f2 100644
--- a/fs/jfs/jfs_mount.c
+++ b/fs/jfs/jfs_mount.c
@@ -97,7 +97,7 @@ int jfs_mount(struct super_block *sb)
97 97
98 ipaimap = diReadSpecial(sb, AGGREGATE_I, 0); 98 ipaimap = diReadSpecial(sb, AGGREGATE_I, 0);
99 if (ipaimap == NULL) { 99 if (ipaimap == NULL) {
100 jfs_err("jfs_mount: Faild to read AGGREGATE_I"); 100 jfs_err("jfs_mount: Failed to read AGGREGATE_I");
101 rc = -EIO; 101 rc = -EIO;
102 goto errout20; 102 goto errout20;
103 } 103 }
@@ -148,7 +148,7 @@ int jfs_mount(struct super_block *sb)
148 if ((sbi->mntflag & JFS_BAD_SAIT) == 0) { 148 if ((sbi->mntflag & JFS_BAD_SAIT) == 0) {
149 ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1); 149 ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1);
150 if (!ipaimap2) { 150 if (!ipaimap2) {
151 jfs_err("jfs_mount: Faild to read AGGREGATE_I"); 151 jfs_err("jfs_mount: Failed to read AGGREGATE_I");
152 rc = -EIO; 152 rc = -EIO;
153 goto errout35; 153 goto errout35;
154 } 154 }