Skip to content

Commit

Permalink
fs/exofs: typo fix of faild to failed
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
  • Loading branch information
Joe Perches authored and Boaz Harrosh committed Oct 25, 2010
1 parent 115e19c commit 571f7f4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions fs/exofs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ int exofs_set_link(struct inode *dir, struct exofs_dir_entry *de,
err = exofs_write_begin(NULL, page->mapping, pos, len,
AOP_FLAG_UNINTERRUPTIBLE, &page, NULL);
if (err)
EXOFS_ERR("exofs_set_link: exofs_write_begin FAILD => %d\n",
EXOFS_ERR("exofs_set_link: exofs_write_begin FAILED => %d\n",
err);

de->inode_no = cpu_to_le64(inode->i_ino);
Expand Down Expand Up @@ -556,7 +556,7 @@ int exofs_delete_entry(struct exofs_dir_entry *dir, struct page *page)
err = exofs_write_begin(NULL, page->mapping, pos, to - from, 0,
&page, NULL);
if (err)
EXOFS_ERR("exofs_delete_entry: exofs_write_begin FAILD => %d\n",
EXOFS_ERR("exofs_delete_entry: exofs_write_begin FAILED => %d\n",
err);
if (pde)
pde->rec_len = cpu_to_le16(to - from);
Expand Down
14 changes: 7 additions & 7 deletions fs/exofs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ static int write_exec(struct page_collect *pcol)

pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL);
if (!pcol_copy) {
EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n");
EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n");
ret = -ENOMEM;
goto err;
}
Expand All @@ -521,7 +521,7 @@ static int write_exec(struct page_collect *pcol)

ret = exofs_oi_write(oi, ios);
if (unlikely(ret)) {
EXOFS_ERR("write_exec: exofs_oi_write() Faild\n");
EXOFS_ERR("write_exec: exofs_oi_write() Failed\n");
goto err;
}

Expand Down Expand Up @@ -622,7 +622,7 @@ static int writepage_strip(struct page *page,
/* split the request, next loop will start again */
ret = write_exec(pcol);
if (unlikely(ret)) {
EXOFS_DBGMSG("write_exec faild => %d", ret);
EXOFS_DBGMSG("write_exec failed => %d", ret);
goto fail;
}

Expand Down Expand Up @@ -713,7 +713,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
ret = simple_write_begin(file, mapping, pos, len, flags, pagep,
fsdata);
if (ret) {
EXOFS_DBGMSG("simple_write_begin faild\n");
EXOFS_DBGMSG("simple_write_begin failed\n");
goto out;
}

Expand All @@ -726,7 +726,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
if (ret) {
/*SetPageError was done by _readpage. Is it ok?*/
unlock_page(page);
EXOFS_DBGMSG("__readpage_filler faild\n");
EXOFS_DBGMSG("__readpage_filler failed\n");
}
}
out:
Expand Down Expand Up @@ -1090,7 +1090,7 @@ static void create_done(struct exofs_io_state *ios, void *p)
atomic_dec(&sbi->s_curr_pending);

if (unlikely(ret)) {
EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx",
EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx",
_LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid));
/*TODO: When FS is corrupted creation can fail, object already
* exist. Get rid of this asynchronous creation, if exist
Expand Down Expand Up @@ -1211,7 +1211,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync)

args = kzalloc(sizeof(*args), GFP_KERNEL);
if (!args) {
EXOFS_DBGMSG("Faild kzalloc of args\n");
EXOFS_DBGMSG("Failed kzalloc of args\n");
return -ENOMEM;
}

Expand Down
10 changes: 5 additions & 5 deletions fs/exofs/ios.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj,

ret = osd_finalize_request(or, 0, cred, NULL);
if (unlikely(ret)) {
EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", ret);
EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", ret);
goto out;
}

Expand All @@ -79,7 +79,7 @@ int exofs_get_io_state(struct exofs_layout *layout,
*/
ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL);
if (unlikely(!ios)) {
EXOFS_DBGMSG("Faild kzalloc bytes=%d\n",
EXOFS_DBGMSG("Failed kzalloc bytes=%d\n",
exofs_io_state_size(layout->s_numdevs));
*pios = NULL;
return -ENOMEM;
Expand Down Expand Up @@ -172,7 +172,7 @@ static int exofs_io_execute(struct exofs_io_state *ios)

ret = osd_finalize_request(or, 0, ios->cred, NULL);
if (unlikely(ret)) {
EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n",
EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n",
ret);
return ret;
}
Expand Down Expand Up @@ -361,7 +361,7 @@ static int _add_stripe_unit(struct exofs_io_state *ios, unsigned *cur_pg,

per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size);
if (unlikely(!per_dev->bio)) {
EXOFS_DBGMSG("Faild to allocate BIO size=%u\n",
EXOFS_DBGMSG("Failed to allocate BIO size=%u\n",
bio_size);
return -ENOMEM;
}
Expand Down Expand Up @@ -564,7 +564,7 @@ static int _sbi_write_mirror(struct exofs_io_state *ios, int cur_comp)
master_dev->bio->bi_max_vecs);
if (unlikely(!bio)) {
EXOFS_DBGMSG(
"Faild to allocate BIO size=%u\n",
"Failed to allocate BIO size=%u\n",
master_dev->bio->bi_max_vecs);
ret = -ENOMEM;
goto out;
Expand Down

0 comments on commit 571f7f4

Please sign in to comment.