From 9bef1574c51d4f6f3b60b2d421d3f24b00c51ab9 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Wed, 22 Jan 2020 11:29:40 -0500 Subject: [PATCH] xfs: Correct comment tyops -> typos Source kernel commit: cf085a1b5d221448c0c7425f3b9b9a9e2134e53e Just fix the typos checkpatch notices... Signed-off-by: Joe Perches Reviewed-by: Bill O'Donnell Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- libxfs/xfs_alloc.c | 2 +- libxfs/xfs_attr_leaf.c | 2 +- libxfs/xfs_da_format.h | 2 +- libxfs/xfs_fs.h | 2 +- libxfs/xfs_log_format.h | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libxfs/xfs_alloc.c b/libxfs/xfs_alloc.c index 36cd9238f..c928820d1 100644 --- a/libxfs/xfs_alloc.c +++ b/libxfs/xfs_alloc.c @@ -1483,7 +1483,7 @@ xfs_alloc_ag_vextent_near( dofirst = prandom_u32() & 1; #endif - /* handle unitialized agbno range so caller doesn't have to */ + /* handle uninitialized agbno range so caller doesn't have to */ if (!args->min_agbno && !args->max_agbno) args->max_agbno = args->mp->m_sb.sb_agblocks - 1; ASSERT(args->min_agbno <= args->max_agbno); diff --git a/libxfs/xfs_attr_leaf.c b/libxfs/xfs_attr_leaf.c index 92758f1ed..869c1f0d5 100644 --- a/libxfs/xfs_attr_leaf.c +++ b/libxfs/xfs_attr_leaf.c @@ -825,7 +825,7 @@ xfs_attr_shortform_lookup(xfs_da_args_t *args) } /* - * Retreive the attribute value and length. + * Retrieve the attribute value and length. * * If ATTR_KERNOVAL is specified, only the length needs to be returned. * Unlike a lookup, we only return an error if the attribute does not diff --git a/libxfs/xfs_da_format.h b/libxfs/xfs_da_format.h index ae654e06b..6702a0849 100644 --- a/libxfs/xfs_da_format.h +++ b/libxfs/xfs_da_format.h @@ -482,7 +482,7 @@ xfs_dir2_leaf_bests_p(struct xfs_dir2_leaf_tail *ltp) } /* - * Free space block defintions for the node format. + * Free space block definitions for the node format. */ /* diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 6ca43c73a..23a7086f6 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -437,7 +437,7 @@ struct xfs_bulkstat { /* * Project quota id helpers (previously projid was 16bit only - * and using two 16bit values to hold new 32bit projid was choosen + * and using two 16bit values to hold new 32bit projid was chosen * to retain compatibility with "old" filesystems). */ static inline uint32_t diff --git a/libxfs/xfs_log_format.h b/libxfs/xfs_log_format.h index e5f97c69b..8ef31d71a 100644 --- a/libxfs/xfs_log_format.h +++ b/libxfs/xfs_log_format.h @@ -432,9 +432,9 @@ static inline uint xfs_log_dinode_size(int version) } /* - * Buffer Log Format defintions + * Buffer Log Format definitions * - * These are the physical dirty bitmap defintions for the log format structure. + * These are the physical dirty bitmap definitions for the log format structure. */ #define XFS_BLF_CHUNK 128 #define XFS_BLF_SHIFT 7 -- 2.47.2