staging:lustre: Fix typo in comment and printk within lustre/obdclass
This patch fixed spelling typo within lustre/lustre/obdclass. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
84f7a542f9
Коммит
52cf6acfb0
|
@ -942,7 +942,7 @@ int cl_io_cancel(const struct lu_env *env, struct cl_io *io,
|
|||
struct cl_page *page;
|
||||
int result = 0;
|
||||
|
||||
CERROR("Canceling ongoing page trasmission\n");
|
||||
CERROR("Canceling ongoing page transmission\n");
|
||||
cl_page_list_for_each(page, queue) {
|
||||
int rc;
|
||||
|
||||
|
|
|
@ -508,7 +508,7 @@ EXPORT_SYMBOL(cl_site_stats_print);
|
|||
* about journal_info. Currently following fields in task_struct are identified
|
||||
* can be used for this purpose:
|
||||
* - cl_env: for liblustre.
|
||||
* - tux_info: ony on RedHat kernel.
|
||||
* - tux_info: only on RedHat kernel.
|
||||
* - ...
|
||||
* \note As long as we use task_struct to store cl_env, we assume that once
|
||||
* called into Lustre, we'll never call into the other part of the kernel
|
||||
|
|
|
@ -1625,7 +1625,7 @@ static int obd_zombie_impexp_check(void *arg)
|
|||
}
|
||||
|
||||
/**
|
||||
* Add export to the obd_zombe thread and notify it.
|
||||
* Add export to the obd_zombie thread and notify it.
|
||||
*/
|
||||
static void obd_zombie_export_add(struct obd_export *exp) {
|
||||
spin_lock(&exp->exp_obd->obd_dev_lock);
|
||||
|
@ -1641,7 +1641,7 @@ static void obd_zombie_export_add(struct obd_export *exp) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Add import to the obd_zombe thread and notify it.
|
||||
* Add import to the obd_zombie thread and notify it.
|
||||
*/
|
||||
static void obd_zombie_import_add(struct obd_import *imp) {
|
||||
LASSERT(imp->imp_sec == NULL);
|
||||
|
@ -1661,7 +1661,7 @@ static void obd_zombie_import_add(struct obd_import *imp) {
|
|||
static void obd_zombie_impexp_notify(void)
|
||||
{
|
||||
/*
|
||||
* Make sure obd_zomebie_impexp_thread get this notification.
|
||||
* Make sure obd_zombie_impexp_thread get this notification.
|
||||
* It is possible this signal only get by obd_zombie_barrier, and
|
||||
* barrier gulps this notification and sleeps away and hangs ensues
|
||||
*/
|
||||
|
|
|
@ -376,7 +376,7 @@ static void llog_skip_over(__u64 *off, int curr, int goal)
|
|||
|
||||
/* sets:
|
||||
* - cur_offset to the furthest point read in the log file
|
||||
* - cur_idx to the log index preceeding cur_offset
|
||||
* - cur_idx to the log index preceding cur_offset
|
||||
* returns -EIO/-EINVAL on error
|
||||
*/
|
||||
static int llog_lvfs_next_block(const struct lu_env *env,
|
||||
|
|
|
@ -514,7 +514,7 @@ static void llog_skip_over(__u64 *off, int curr, int goal)
|
|||
|
||||
/* sets:
|
||||
* - cur_offset to the furthest point read in the log file
|
||||
* - cur_idx to the log index preceeding cur_offset
|
||||
* - cur_idx to the log index preceding cur_offset
|
||||
* returns -EIO/-EINVAL on error
|
||||
*/
|
||||
static int llog_osd_next_block(const struct lu_env *env,
|
||||
|
@ -1073,7 +1073,7 @@ static int llog_osd_setup(const struct lu_env *env, struct obd_device *obd,
|
|||
LASSERT(ctxt);
|
||||
|
||||
/* initialize data allowing to generate new fids,
|
||||
* literally we need a sequece */
|
||||
* literally we need a sequence */
|
||||
lgi->lgi_fid.f_seq = FID_SEQ_LLOG;
|
||||
lgi->lgi_fid.f_oid = 1;
|
||||
lgi->lgi_fid.f_ver = 0;
|
||||
|
@ -1280,7 +1280,7 @@ int llog_osd_put_cat_list(const struct lu_env *env, struct dt_device *d,
|
|||
lgi->lgi_buf.lb_len = size;
|
||||
rc = dt_record_write(env, o, &lgi->lgi_buf, &lgi->lgi_off, th);
|
||||
if (rc)
|
||||
CDEBUG(D_INODE, "error writeing CATALOGS: rc = %d\n", rc);
|
||||
CDEBUG(D_INODE, "error writing CATALOGS: rc = %d\n", rc);
|
||||
out_trans:
|
||||
dt_trans_stop(env, d, th);
|
||||
out:
|
||||
|
|
|
@ -737,7 +737,7 @@ int lastid_compat_check(const struct lu_env *env, struct dt_device *dev,
|
|||
* All dynamic fids will be generated with the same sequence and incremented
|
||||
* OIDs
|
||||
*
|
||||
* Returned local_oid_storage is in-memory representaion of OID storage
|
||||
* Returned local_oid_storage is in-memory representation of OID storage
|
||||
*/
|
||||
int local_oid_storage_init(const struct lu_env *env, struct dt_device *dev,
|
||||
const struct lu_fid *first_fid,
|
||||
|
|
|
@ -2100,7 +2100,7 @@ void lu_object_assign_fid(const struct lu_env *env, struct lu_object *o,
|
|||
EXPORT_SYMBOL(lu_object_assign_fid);
|
||||
|
||||
/**
|
||||
* allocates object with 0 (non-assiged) fid
|
||||
* allocates object with 0 (non-assigned) fid
|
||||
* XXX: temporary solution to be able to assign fid in ->do_create()
|
||||
* till we have fully-functional OST fids
|
||||
*/
|
||||
|
|
|
@ -60,7 +60,7 @@ EXPORT_SYMBOL(lustre_lma_init);
|
|||
*/
|
||||
void lustre_lma_swab(struct lustre_mdt_attrs *lma)
|
||||
{
|
||||
/* Use LUSTRE_MSG_MAGIC to detect local endianess. */
|
||||
/* Use LUSTRE_MSG_MAGIC to detect local endianness. */
|
||||
if (LUSTRE_MSG_MAGIC != cpu_to_le32(LUSTRE_MSG_MAGIC)) {
|
||||
__swab32s(&lma->lma_compat);
|
||||
__swab32s(&lma->lma_incompat);
|
||||
|
@ -77,7 +77,7 @@ EXPORT_SYMBOL(lustre_lma_swab);
|
|||
*/
|
||||
void lustre_som_swab(struct som_attrs *attrs)
|
||||
{
|
||||
/* Use LUSTRE_MSG_MAGIC to detect local endianess. */
|
||||
/* Use LUSTRE_MSG_MAGIC to detect local endianness. */
|
||||
if (LUSTRE_MSG_MAGIC != cpu_to_le32(LUSTRE_MSG_MAGIC)) {
|
||||
__swab32s(&attrs->som_compat);
|
||||
__swab32s(&attrs->som_incompat);
|
||||
|
@ -135,7 +135,7 @@ EXPORT_SYMBOL(lustre_buf2som);
|
|||
*/
|
||||
void lustre_hsm_swab(struct hsm_attrs *attrs)
|
||||
{
|
||||
/* Use LUSTRE_MSG_MAGIC to detect local endianess. */
|
||||
/* Use LUSTRE_MSG_MAGIC to detect local endianness. */
|
||||
if (LUSTRE_MSG_MAGIC != cpu_to_le32(LUSTRE_MSG_MAGIC)) {
|
||||
__swab32s(&attrs->hsm_compat);
|
||||
__swab32s(&attrs->hsm_flags);
|
||||
|
|
|
@ -592,7 +592,7 @@ int class_detach(struct obd_device *obd, struct lustre_cfg *lcfg)
|
|||
}
|
||||
EXPORT_SYMBOL(class_detach);
|
||||
|
||||
/** Start shutting down the obd. There may be in-progess ops when
|
||||
/** Start shutting down the obd. There may be in-progress ops when
|
||||
* this is called. We tell them to start shutting down with a call
|
||||
* to class_disconnect_exports().
|
||||
*/
|
||||
|
@ -655,7 +655,7 @@ int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg)
|
|||
/* The three references that should be remaining are the
|
||||
* obd_self_export and the attach and setup references. */
|
||||
if (atomic_read(&obd->obd_refcount) > 3) {
|
||||
/* refcounf - 3 might be the number of real exports
|
||||
/* refcount - 3 might be the number of real exports
|
||||
(excluding self export). But class_incref is called
|
||||
by other things as well, so don't count on it. */
|
||||
CDEBUG(D_IOCTL, "%s: forcing exports to disconnect: %d\n",
|
||||
|
|
|
@ -501,7 +501,7 @@ static int lustre_stop_mgc(struct super_block *sb)
|
|||
}
|
||||
|
||||
/* The MGC has no recoverable data in any case.
|
||||
* force shotdown set in umount_begin */
|
||||
* force shutdown set in umount_begin */
|
||||
obd->obd_no_recov = 1;
|
||||
|
||||
if (obd->u.cli.cl_mgc_mgsexp) {
|
||||
|
@ -754,7 +754,7 @@ int server_name2index(const char *svname, __u32 *idx, const char **endptr)
|
|||
}
|
||||
EXPORT_SYMBOL(server_name2index);
|
||||
|
||||
/*************** mount common betweeen server and client ***************/
|
||||
/*************** mount common between server and client ***************/
|
||||
|
||||
/* Common umount */
|
||||
int lustre_common_put_super(struct super_block *sb)
|
||||
|
|
|
@ -191,7 +191,7 @@ int obdo_cmp_md(struct obdo *dst, struct obdo *src, obd_flag compare)
|
|||
}
|
||||
if ( compare & OBD_MD_FLGENER )
|
||||
res = (res || (dst->o_parent_oid != src->o_parent_oid));
|
||||
/* XXX Don't know if thses should be included here - wasn't previously
|
||||
/* XXX Don't know if these should be included here - wasn't previously
|
||||
if ( compare & OBD_MD_FLINLINE )
|
||||
res = (res || memcmp(dst->o_inline, src->o_inline));
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче