staging: lustre: Fix typo in lustre/lustre/lov
Correct spelling typo in lustre/lustre/lov Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
23ebb3fd1d
commit
1208bcd8f2
5 changed files with 11 additions and 11 deletions
|
@ -71,7 +71,7 @@ static struct lov_sublock_env *lov_sublock_env_get(const struct lu_env *env,
|
|||
/*
|
||||
* FIXME: We tend to use the subio's env & io to call the sublock
|
||||
* lock operations because osc lock sometimes stores some control
|
||||
* variables in thread's IO infomation(Now only lockless information).
|
||||
* variables in thread's IO information(Now only lockless information).
|
||||
* However, if the lock's host(object) is different from the object
|
||||
* for current IO, we have no way to get the subenv and subio because
|
||||
* they are not initialized at all. As a temp fix, in this case,
|
||||
|
|
|
@ -156,7 +156,7 @@ int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm,
|
|||
kms = lov_size_to_stripe(lsm, size, stripe);
|
||||
CDEBUG(D_INODE,
|
||||
"stripe %d KMS %sing "LPU64"->"LPU64"\n",
|
||||
stripe, kms > loi->loi_kms ? "increas":"shrink",
|
||||
stripe, kms > loi->loi_kms ? "increase":"shrink",
|
||||
loi->loi_kms, kms);
|
||||
loi_kms_set(loi, loi->loi_lvb.lvb_size = kms);
|
||||
}
|
||||
|
|
|
@ -1174,7 +1174,7 @@ static int lov_getattr_interpret(struct ptlrpc_request_set *rqset,
|
|||
struct lov_request_set *lovset = (struct lov_request_set *)data;
|
||||
int err;
|
||||
|
||||
/* don't do attribute merge if this aysnc op failed */
|
||||
/* don't do attribute merge if this async op failed */
|
||||
if (rc)
|
||||
atomic_set(&lovset->set_completes, 0);
|
||||
err = lov_fini_getattr_set(lovset);
|
||||
|
|
|
@ -453,7 +453,7 @@ int lov_pool_new(struct obd_device *obd, char *poolname)
|
|||
INIT_HLIST_NODE(&new_pool->pool_hash);
|
||||
|
||||
#ifdef LPROCFS
|
||||
/* we need this assert seq_file is not implementated for liblustre */
|
||||
/* we need this assert seq_file is not implemented for liblustre */
|
||||
/* get ref for /proc file */
|
||||
lov_pool_getref(new_pool);
|
||||
new_pool->pool_proc_entry = lprocfs_add_simple(lov->lov_pool_proc_entry,
|
||||
|
|
|
@ -835,7 +835,7 @@ int lov_fini_getattr_set(struct lov_request_set *set)
|
|||
return rc;
|
||||
}
|
||||
|
||||
/* The callback for osc_getattr_async that finilizes a request info when a
|
||||
/* The callback for osc_getattr_async that finalizes a request info when a
|
||||
* response is received. */
|
||||
static int cb_getattr_update(void *cookie, int rc)
|
||||
{
|
||||
|
@ -1017,7 +1017,7 @@ int lov_update_setattr_set(struct lov_request_set *set,
|
|||
return rc;
|
||||
}
|
||||
|
||||
/* The callback for osc_setattr_async that finilizes a request info when a
|
||||
/* The callback for osc_setattr_async that finalizes a request info when a
|
||||
* response is received. */
|
||||
static int cb_setattr_update(void *cookie, int rc)
|
||||
{
|
||||
|
@ -1140,7 +1140,7 @@ int lov_update_punch_set(struct lov_request_set *set,
|
|||
return rc;
|
||||
}
|
||||
|
||||
/* The callback for osc_punch that finilizes a request info when a response
|
||||
/* The callback for osc_punch that finalizes a request info when a response
|
||||
* is received. */
|
||||
static int cb_update_punch(void *cookie, int rc)
|
||||
{
|
||||
|
@ -1236,8 +1236,8 @@ int lov_fini_sync_set(struct lov_request_set *set)
|
|||
return rc;
|
||||
}
|
||||
|
||||
/* The callback for osc_sync that finilizes a request info when a
|
||||
* response is recieved. */
|
||||
/* The callback for osc_sync that finalizes a request info when a
|
||||
* response is received. */
|
||||
static int cb_sync_update(void *cookie, int rc)
|
||||
{
|
||||
struct obd_info *oinfo = cookie;
|
||||
|
@ -1407,7 +1407,7 @@ void lov_update_statfs(struct obd_statfs *osfs, struct obd_statfs *lov_sfs,
|
|||
}
|
||||
}
|
||||
|
||||
/* The callback for osc_statfs_async that finilizes a request info when a
|
||||
/* The callback for osc_statfs_async that finalizes a request info when a
|
||||
* response is received. */
|
||||
static int cb_statfs_update(void *cookie, int rc)
|
||||
{
|
||||
|
@ -1485,7 +1485,7 @@ int lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo,
|
|||
continue;
|
||||
}
|
||||
|
||||
/* skip targets that have been explicitely disabled by the
|
||||
/* skip targets that have been explicitly disabled by the
|
||||
* administrator */
|
||||
if (!lov->lov_tgts[i]->ltd_exp) {
|
||||
CDEBUG(D_HA, "lov idx %d administratively disabled\n", i);
|
||||
|
|
Loading…
Add table
Reference in a new issue