diff options
Diffstat (limited to 'fs/exofs/inode.c')
-rw-r--r-- | fs/exofs/inode.c | 14 |
1 files changed, 7 insertions, 7 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 | ||