diff options
Diffstat (limited to 'drivers/staging/lustre/lustre/include/lustre_fid.h')
-rw-r--r-- | drivers/staging/lustre/lustre/include/lustre_fid.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/lustre/lustre/include/lustre_fid.h b/drivers/staging/lustre/lustre/include/lustre_fid.h index 84a897e..5e7b316 100644 --- a/drivers/staging/lustre/lustre/include/lustre_fid.h +++ b/drivers/staging/lustre/lustre/include/lustre_fid.h @@ -339,7 +339,7 @@ struct lu_client_seq { struct mutex lcs_mutex; /* - * Range of allowed for allocation sequeces. When using lu_client_seq on + * Range of allowed for allocation sequences. When using lu_client_seq on * clients, this contains meta-sequence range. And for servers this * contains super-sequence range. */ @@ -398,7 +398,7 @@ struct lu_server_seq { /* LUSTRE_SEQ_SERVER or LUSTRE_SEQ_CONTROLLER */ enum lu_mgr_type lss_type; - /* Client interafce to request controller */ + /* Client interface to request controller */ struct lu_client_seq *lss_cli; /* Mutex for protecting allocation */ @@ -568,14 +568,14 @@ fid_build_pdo_res_name(const struct lu_fid *fid, unsigned int hash, * finally, when we replace ost_id with FID in data stack. * * Currently, resid from the old client, whose res[0] = object_id, - * res[1] = object_seq, is just oposite with Metatdata + * res[1] = object_seq, is just opposite with Metatdata * resid, where, res[0] = fid->f_seq, res[1] = fid->f_oid. - * To unifiy the resid identification, we will reverse the data + * To unify the resid identification, we will reverse the data * resid to keep it same with Metadata resid, i.e. * * For resid from the old client, * res[0] = objid, res[1] = 0, still keep the original order, - * for compatiblity. + * for compatibility. * * For new resid * res will be built from normal FID directly, i.e. res[0] = f_seq, @@ -685,7 +685,7 @@ static inline __u32 fid_hash(const struct lu_fid *f, int bits) { /* all objects with same id and different versions will belong to same * collisions list. */ - return cfs_hash_long(fid_flatten(f), bits); + return hash_long(fid_flatten(f), bits); } /** |