diff options
Diffstat (limited to 'fs/exofs')
-rw-r--r-- | fs/exofs/inode.c | 14 | ||||
-rw-r--r-- | fs/exofs/ios.c | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 3eadd97324b1..44602754f758 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c | |||
@@ -511,7 +511,7 @@ static int write_exec(struct page_collect *pcol) | |||
511 | 511 | ||
512 | pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); | 512 | pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); |
513 | if (!pcol_copy) { | 513 | if (!pcol_copy) { |
514 | EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n"); | 514 | EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n"); |
515 | ret = -ENOMEM; | 515 | ret = -ENOMEM; |
516 | goto err; | 516 | goto err; |
517 | } | 517 | } |
@@ -527,7 +527,7 @@ static int write_exec(struct page_collect *pcol) | |||
527 | 527 | ||
528 | ret = exofs_oi_write(oi, ios); | 528 | ret = exofs_oi_write(oi, ios); |
529 | if (unlikely(ret)) { | 529 | if (unlikely(ret)) { |
530 | EXOFS_ERR("write_exec: exofs_oi_write() Faild\n"); | 530 | EXOFS_ERR("write_exec: exofs_oi_write() Failed\n"); |
531 | goto err; | 531 | goto err; |
532 | } | 532 | } |
533 | 533 | ||
@@ -628,7 +628,7 @@ try_again: | |||
628 | /* split the request, next loop will start again */ | 628 | /* split the request, next loop will start again */ |
629 | ret = write_exec(pcol); | 629 | ret = write_exec(pcol); |
630 | if (unlikely(ret)) { | 630 | if (unlikely(ret)) { |
631 | EXOFS_DBGMSG("write_exec faild => %d", ret); | 631 | EXOFS_DBGMSG("write_exec failed => %d", ret); |
632 | goto fail; | 632 | goto fail; |
633 | } | 633 | } |
634 | 634 | ||
@@ -719,7 +719,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
719 | ret = simple_write_begin(file, mapping, pos, len, flags, pagep, | 719 | ret = simple_write_begin(file, mapping, pos, len, flags, pagep, |
720 | fsdata); | 720 | fsdata); |
721 | if (ret) { | 721 | if (ret) { |
722 | EXOFS_DBGMSG("simple_write_begin faild\n"); | 722 | EXOFS_DBGMSG("simple_write_begin failed\n"); |
723 | goto out; | 723 | goto out; |
724 | } | 724 | } |
725 | 725 | ||
@@ -732,7 +732,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
732 | if (ret) { | 732 | if (ret) { |
733 | /*SetPageError was done by _readpage. Is it ok?*/ | 733 | /*SetPageError was done by _readpage. Is it ok?*/ |
734 | unlock_page(page); | 734 | unlock_page(page); |
735 | EXOFS_DBGMSG("__readpage_filler faild\n"); | 735 | EXOFS_DBGMSG("__readpage_filler failed\n"); |
736 | } | 736 | } |
737 | } | 737 | } |
738 | out: | 738 | out: |
@@ -1095,7 +1095,7 @@ static void create_done(struct exofs_io_state *ios, void *p) | |||
1095 | atomic_dec(&sbi->s_curr_pending); | 1095 | atomic_dec(&sbi->s_curr_pending); |
1096 | 1096 | ||
1097 | if (unlikely(ret)) { | 1097 | if (unlikely(ret)) { |
1098 | EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx", | 1098 | EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx", |
1099 | _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); | 1099 | _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); |
1100 | /*TODO: When FS is corrupted creation can fail, object already | 1100 | /*TODO: When FS is corrupted creation can fail, object already |
1101 | * exist. Get rid of this asynchronous creation, if exist | 1101 | * exist. Get rid of this asynchronous creation, if exist |
@@ -1215,7 +1215,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync) | |||
1215 | 1215 | ||
1216 | args = kzalloc(sizeof(*args), GFP_KERNEL); | 1216 | args = kzalloc(sizeof(*args), GFP_KERNEL); |
1217 | if (!args) { | 1217 | if (!args) { |
1218 | EXOFS_DBGMSG("Faild kzalloc of args\n"); | 1218 | EXOFS_DBGMSG("Failed kzalloc of args\n"); |
1219 | return -ENOMEM; | 1219 | return -ENOMEM; |
1220 | } | 1220 | } |
1221 | 1221 | ||
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; |