fs/exofs: typo fix of faild to failed
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
This commit is contained in:
parent
115e19c535
commit
571f7f46bf
@ -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);
|
||||
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -622,7 +622,7 @@ try_again:
|
||||
/* 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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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:
|
||||
@ -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
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
@ -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;
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user