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 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 | ||
