reiserfs: delete duplicated words
diff mbox series

Message ID 20200805024925.12281-1-rdunlap@infradead.org
State New
Headers show
Series
  • reiserfs: delete duplicated words
Related show

Commit Message

Randy Dunlap Aug. 5, 2020, 2:49 a.m. UTC
Delete repeated words in fs/reiserfs/.
{from, not, we, are}

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
To: linux-fsdevel@vger.kernel.org
Cc: Jan Kara <jack@suse.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: reiserfs-devel@vger.kernel.org
---
 fs/reiserfs/dir.c       |    8 ++++----
 fs/reiserfs/fix_node.c  |    4 ++--
 fs/reiserfs/journal.c   |    2 +-
 fs/reiserfs/xattr_acl.c |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

Comments

Jan Kara Aug. 5, 2020, 8:30 a.m. UTC | #1
On Tue 04-08-20 19:49:25, Randy Dunlap wrote:
> Delete repeated words in fs/reiserfs/.
> {from, not, we, are}
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> To: linux-fsdevel@vger.kernel.org
> Cc: Jan Kara <jack@suse.com>
> Cc: Jeff Mahoney <jeffm@suse.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: reiserfs-devel@vger.kernel.org

Thanks. I've added the patch to my tree.

								Honza

> ---
>  fs/reiserfs/dir.c       |    8 ++++----
>  fs/reiserfs/fix_node.c  |    4 ++--
>  fs/reiserfs/journal.c   |    2 +-
>  fs/reiserfs/xattr_acl.c |    2 +-
>  4 files changed, 8 insertions(+), 8 deletions(-)
> 
> --- linux-next-20200804.orig/fs/reiserfs/dir.c
> +++ linux-next-20200804/fs/reiserfs/dir.c
> @@ -289,7 +289,7 @@ void make_empty_dir_item_v1(char *body,
>  
>  	/* direntry header of "." */
>  	put_deh_offset(dot, DOT_OFFSET);
> -	/* these two are from make_le_item_head, and are are LE */
> +	/* these two are from make_le_item_head, and are LE */
>  	dot->deh_dir_id = dirid;
>  	dot->deh_objectid = objid;
>  	dot->deh_state = 0;	/* Endian safe if 0 */
> @@ -299,7 +299,7 @@ void make_empty_dir_item_v1(char *body,
>  	/* direntry header of ".." */
>  	put_deh_offset(dotdot, DOT_DOT_OFFSET);
>  	/* key of ".." for the root directory */
> -	/* these two are from the inode, and are are LE */
> +	/* these two are from the inode, and are LE */
>  	dotdot->deh_dir_id = par_dirid;
>  	dotdot->deh_objectid = par_objid;
>  	dotdot->deh_state = 0;	/* Endian safe if 0 */
> @@ -323,7 +323,7 @@ void make_empty_dir_item(char *body, __l
>  
>  	/* direntry header of "." */
>  	put_deh_offset(dot, DOT_OFFSET);
> -	/* these two are from make_le_item_head, and are are LE */
> +	/* these two are from make_le_item_head, and are LE */
>  	dot->deh_dir_id = dirid;
>  	dot->deh_objectid = objid;
>  	dot->deh_state = 0;	/* Endian safe if 0 */
> @@ -333,7 +333,7 @@ void make_empty_dir_item(char *body, __l
>  	/* direntry header of ".." */
>  	put_deh_offset(dotdot, DOT_DOT_OFFSET);
>  	/* key of ".." for the root directory */
> -	/* these two are from the inode, and are are LE */
> +	/* these two are from the inode, and are LE */
>  	dotdot->deh_dir_id = par_dirid;
>  	dotdot->deh_objectid = par_objid;
>  	dotdot->deh_state = 0;	/* Endian safe if 0 */
> --- linux-next-20200804.orig/fs/reiserfs/fix_node.c
> +++ linux-next-20200804/fs/reiserfs/fix_node.c
> @@ -611,9 +611,9 @@ static int get_num_ver(int mode, struct
>   *	blk_num	number of blocks that S[h] will be splitted into;
>   *	s012	number of items that fall into splitted nodes.
>   *	lbytes	number of bytes which flow to the left neighbor from the
> - *              item that is not not shifted entirely
> + *              item that is not shifted entirely
>   *	rbytes	number of bytes which flow to the right neighbor from the
> - *              item that is not not shifted entirely
> + *              item that is not shifted entirely
>   *	s1bytes	number of bytes which flow to the first  new node when
>   *              S[0] splits (this number is contained in s012 array)
>   */
> --- linux-next-20200804.orig/fs/reiserfs/journal.c
> +++ linux-next-20200804/fs/reiserfs/journal.c
> @@ -32,7 +32,7 @@
>   *                      to disk for all backgrounded commits that have been
>   *                      around too long.
>   *		     -- Note, if you call this as an immediate flush from
> - *		        from within kupdate, it will ignore the immediate flag
> + *		        within kupdate, it will ignore the immediate flag
>   */
>  
>  #include <linux/time.h>
> --- linux-next-20200804.orig/fs/reiserfs/xattr_acl.c
> +++ linux-next-20200804/fs/reiserfs/xattr_acl.c
> @@ -373,7 +373,7 @@ int reiserfs_cache_default_acl(struct in
>  
>  		/* Other xattrs can be created during inode creation. We don't
>  		 * want to claim too many blocks, so we check to see if we
> -		 * we need to create the tree to the xattrs, and then we
> +		 * need to create the tree to the xattrs, and then we
>  		 * just want two files. */
>  		nblocks = reiserfs_xattr_jcreate_nblocks(inode);
>  		nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb);
>

Patch
diff mbox series

--- linux-next-20200804.orig/fs/reiserfs/dir.c
+++ linux-next-20200804/fs/reiserfs/dir.c
@@ -289,7 +289,7 @@  void make_empty_dir_item_v1(char *body,
 
 	/* direntry header of "." */
 	put_deh_offset(dot, DOT_OFFSET);
-	/* these two are from make_le_item_head, and are are LE */
+	/* these two are from make_le_item_head, and are LE */
 	dot->deh_dir_id = dirid;
 	dot->deh_objectid = objid;
 	dot->deh_state = 0;	/* Endian safe if 0 */
@@ -299,7 +299,7 @@  void make_empty_dir_item_v1(char *body,
 	/* direntry header of ".." */
 	put_deh_offset(dotdot, DOT_DOT_OFFSET);
 	/* key of ".." for the root directory */
-	/* these two are from the inode, and are are LE */
+	/* these two are from the inode, and are LE */
 	dotdot->deh_dir_id = par_dirid;
 	dotdot->deh_objectid = par_objid;
 	dotdot->deh_state = 0;	/* Endian safe if 0 */
@@ -323,7 +323,7 @@  void make_empty_dir_item(char *body, __l
 
 	/* direntry header of "." */
 	put_deh_offset(dot, DOT_OFFSET);
-	/* these two are from make_le_item_head, and are are LE */
+	/* these two are from make_le_item_head, and are LE */
 	dot->deh_dir_id = dirid;
 	dot->deh_objectid = objid;
 	dot->deh_state = 0;	/* Endian safe if 0 */
@@ -333,7 +333,7 @@  void make_empty_dir_item(char *body, __l
 	/* direntry header of ".." */
 	put_deh_offset(dotdot, DOT_DOT_OFFSET);
 	/* key of ".." for the root directory */
-	/* these two are from the inode, and are are LE */
+	/* these two are from the inode, and are LE */
 	dotdot->deh_dir_id = par_dirid;
 	dotdot->deh_objectid = par_objid;
 	dotdot->deh_state = 0;	/* Endian safe if 0 */
--- linux-next-20200804.orig/fs/reiserfs/fix_node.c
+++ linux-next-20200804/fs/reiserfs/fix_node.c
@@ -611,9 +611,9 @@  static int get_num_ver(int mode, struct
  *	blk_num	number of blocks that S[h] will be splitted into;
  *	s012	number of items that fall into splitted nodes.
  *	lbytes	number of bytes which flow to the left neighbor from the
- *              item that is not not shifted entirely
+ *              item that is not shifted entirely
  *	rbytes	number of bytes which flow to the right neighbor from the
- *              item that is not not shifted entirely
+ *              item that is not shifted entirely
  *	s1bytes	number of bytes which flow to the first  new node when
  *              S[0] splits (this number is contained in s012 array)
  */
--- linux-next-20200804.orig/fs/reiserfs/journal.c
+++ linux-next-20200804/fs/reiserfs/journal.c
@@ -32,7 +32,7 @@ 
  *                      to disk for all backgrounded commits that have been
  *                      around too long.
  *		     -- Note, if you call this as an immediate flush from
- *		        from within kupdate, it will ignore the immediate flag
+ *		        within kupdate, it will ignore the immediate flag
  */
 
 #include <linux/time.h>
--- linux-next-20200804.orig/fs/reiserfs/xattr_acl.c
+++ linux-next-20200804/fs/reiserfs/xattr_acl.c
@@ -373,7 +373,7 @@  int reiserfs_cache_default_acl(struct in
 
 		/* Other xattrs can be created during inode creation. We don't
 		 * want to claim too many blocks, so we check to see if we
-		 * we need to create the tree to the xattrs, and then we
+		 * need to create the tree to the xattrs, and then we
 		 * just want two files. */
 		nblocks = reiserfs_xattr_jcreate_nblocks(inode);
 		nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb);