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 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 | } |
| 732 | out: | 732 | out: |
| @@ -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 | ||
