aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exofs
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-22 01:17:17 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2010-10-25 12:02:49 -0400
commit571f7f46bf367b29f574ca51a9ca1db5035602bb (patch)
tree39c8557d005982f7212c073b43027672c8e8e7ff /fs/exofs
parent115e19c53501edc11f730191f7f047736815ae3d (diff)
fs/exofs: typo fix of faild to failed
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/exofs')
-rw-r--r--fs/exofs/dir.c4
-rw-r--r--fs/exofs/inode.c14
-rw-r--r--fs/exofs/ios.c10
3 files changed, 14 insertions, 14 deletions
diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
index d91e9d829bc1..dcc941d82d67 100644
--- a/fs/exofs/dir.c
+++ b/fs/exofs/dir.c
@@ -420,7 +420,7 @@ int exofs_set_link(struct inode *dir, struct exofs_dir_entry *de,
420 err = exofs_write_begin(NULL, page->mapping, pos, len, 420 err = exofs_write_begin(NULL, page->mapping, pos, len,
421 AOP_FLAG_UNINTERRUPTIBLE, &page, NULL); 421 AOP_FLAG_UNINTERRUPTIBLE, &page, NULL);
422 if (err) 422 if (err)
423 EXOFS_ERR("exofs_set_link: exofs_write_begin FAILD => %d\n", 423 EXOFS_ERR("exofs_set_link: exofs_write_begin FAILED => %d\n",
424 err); 424 err);
425 425
426 de->inode_no = cpu_to_le64(inode->i_ino); 426 de->inode_no = cpu_to_le64(inode->i_ino);
@@ -556,7 +556,7 @@ int exofs_delete_entry(struct exofs_dir_entry *dir, struct page *page)
556 err = exofs_write_begin(NULL, page->mapping, pos, to - from, 0, 556 err = exofs_write_begin(NULL, page->mapping, pos, to - from, 0,
557 &page, NULL); 557 &page, NULL);
558 if (err) 558 if (err)
559 EXOFS_ERR("exofs_delete_entry: exofs_write_begin FAILD => %d\n", 559 EXOFS_ERR("exofs_delete_entry: exofs_write_begin FAILED => %d\n",
560 err); 560 err);
561 if (pde) 561 if (pde)
562 pde->rec_len = cpu_to_le16(to - from); 562 pde->rec_len = cpu_to_le16(to - from);
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c
index 0ba9886da2ec..f5f8ce03c2f3 100644
--- a/fs/exofs/inode.c
+++ b/fs/exofs/inode.c
@@ -505,7 +505,7 @@ static int write_exec(struct page_collect *pcol)
505 505
506 pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); 506 pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL);
507 if (!pcol_copy) { 507 if (!pcol_copy) {
508 EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n"); 508 EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n");
509 ret = -ENOMEM; 509 ret = -ENOMEM;
510 goto err; 510 goto err;
511 } 511 }
@@ -521,7 +521,7 @@ static int write_exec(struct page_collect *pcol)
521 521
522 ret = exofs_oi_write(oi, ios); 522 ret = exofs_oi_write(oi, ios);
523 if (unlikely(ret)) { 523 if (unlikely(ret)) {
524 EXOFS_ERR("write_exec: exofs_oi_write() Faild\n"); 524 EXOFS_ERR("write_exec: exofs_oi_write() Failed\n");
525 goto err; 525 goto err;
526 } 526 }
527 527
@@ -622,7 +622,7 @@ try_again:
622 /* split the request, next loop will start again */ 622 /* split the request, next loop will start again */
623 ret = write_exec(pcol); 623 ret = write_exec(pcol);
624 if (unlikely(ret)) { 624 if (unlikely(ret)) {
625 EXOFS_DBGMSG("write_exec faild => %d", ret); 625 EXOFS_DBGMSG("write_exec failed => %d", ret);
626 goto fail; 626 goto fail;
627 } 627 }
628 628
@@ -713,7 +713,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
713 ret = simple_write_begin(file, mapping, pos, len, flags, pagep, 713 ret = simple_write_begin(file, mapping, pos, len, flags, pagep,
714 fsdata); 714 fsdata);
715 if (ret) { 715 if (ret) {
716 EXOFS_DBGMSG("simple_write_begin faild\n"); 716 EXOFS_DBGMSG("simple_write_begin failed\n");
717 goto out; 717 goto out;
718 } 718 }
719 719
@@ -726,7 +726,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
726 if (ret) { 726 if (ret) {
727 /*SetPageError was done by _readpage. Is it ok?*/ 727 /*SetPageError was done by _readpage. Is it ok?*/
728 unlock_page(page); 728 unlock_page(page);
729 EXOFS_DBGMSG("__readpage_filler faild\n"); 729 EXOFS_DBGMSG("__readpage_filler failed\n");
730 } 730 }
731 } 731 }
732out: 732out:
@@ -1090,7 +1090,7 @@ static void create_done(struct exofs_io_state *ios, void *p)
1090 atomic_dec(&sbi->s_curr_pending); 1090 atomic_dec(&sbi->s_curr_pending);
1091 1091
1092 if (unlikely(ret)) { 1092 if (unlikely(ret)) {
1093 EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx", 1093 EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx",
1094 _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); 1094 _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid));
1095 /*TODO: When FS is corrupted creation can fail, object already 1095 /*TODO: When FS is corrupted creation can fail, object already
1096 * exist. Get rid of this asynchronous creation, if exist 1096 * exist. Get rid of this asynchronous creation, if exist
@@ -1211,7 +1211,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync)
1211 1211
1212 args = kzalloc(sizeof(*args), GFP_KERNEL); 1212 args = kzalloc(sizeof(*args), GFP_KERNEL);
1213 if (!args) { 1213 if (!args) {
1214 EXOFS_DBGMSG("Faild kzalloc of args\n"); 1214 EXOFS_DBGMSG("Failed kzalloc of args\n");
1215 return -ENOMEM; 1215 return -ENOMEM;
1216 } 1216 }
1217 1217
diff --git a/fs/exofs/ios.c b/fs/exofs/ios.c
index 6550bf70e41d..f74a2ec027a6 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 }
@@ -361,7 +361,7 @@ static int _add_stripe_unit(struct exofs_io_state *ios, unsigned *cur_pg,
361 361
362 per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); 362 per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size);
363 if (unlikely(!per_dev->bio)) { 363 if (unlikely(!per_dev->bio)) {
364 EXOFS_DBGMSG("Faild to allocate BIO size=%u\n", 364 EXOFS_DBGMSG("Failed to allocate BIO size=%u\n",
365 bio_size); 365 bio_size);
366 return -ENOMEM; 366 return -ENOMEM;
367 } 367 }
@@ -564,7 +564,7 @@ static int _sbi_write_mirror(struct exofs_io_state *ios, int cur_comp)
564 master_dev->bio->bi_max_vecs); 564 master_dev->bio->bi_max_vecs);
565 if (unlikely(!bio)) { 565 if (unlikely(!bio)) {
566 EXOFS_DBGMSG( 566 EXOFS_DBGMSG(
567 "Faild to allocate BIO size=%u\n", 567 "Failed to allocate BIO size=%u\n",
568 master_dev->bio->bi_max_vecs); 568 master_dev->bio->bi_max_vecs);
569 ret = -ENOMEM; 569 ret = -ENOMEM;
570 goto out; 570 goto out;