jfs: delete duplicated words + other fixes
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 5 Aug 2020 02:49:01 +0000 (19:49 -0700)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 13 Nov 2020 19:36:00 +0000 (13:36 -0600)
Delete repeated words in fs/jfs/.
{for, allocation, if, the}
Insert "is" in one place to correct the grammar.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
To: linux-fsdevel@vger.kernel.org
Cc: jfs-discussion@lists.sourceforge.net
fs/jfs/jfs_dmap.c
fs/jfs/jfs_extent.c
fs/jfs/jfs_extent.h
fs/jfs/jfs_logmgr.h
fs/jfs/jfs_txnmgr.c
fs/jfs/jfs_xtree.c

index 7dfcab2a2da68c2f440dad5b730c6c04ecf31660..dc02c7faf01f4d2829eed0f11f6af776222999ae 100644 (file)
@@ -668,7 +668,7 @@ unlock:
  *             this does not succeed, we finally try to allocate anywhere
  *             within the aggregate.
  *
- *             we also try to allocate anywhere within the aggregate for
+ *             we also try to allocate anywhere within the aggregate
  *             for allocation requests larger than the allocation group
  *             size or requests that specify no hint value.
  *
index f65bd6b35412b936319a80bca37e4fd0a5aaf95c..bb4a342a193d4491bac4d43d8901864942641316 100644 (file)
@@ -575,7 +575,7 @@ extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno)
  *     blkno    - starting block number of the extents current allocation.
  *     nblks    - number of blocks within the extents current allocation.
  *     newnblks - pointer to a s64 value.  on entry, this value is the
- *                the new desired extent size (number of blocks).  on
+ *                new desired extent size (number of blocks).  on
  *                successful exit, this value is set to the extent's actual
  *                new size (new number of blocks).
  *     newblkno - the starting block number of the extents new allocation.
index dd635a8a0f8c13300b6bdca79148a70b78470950..1c984214e95e2d391797773a60ae4aefdf7fdf26 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef        _H_JFS_EXTENT
 #define _H_JFS_EXTENT
 
-/*  get block allocation allocation hint as location of disk inode */
+/*  get block allocation hint as location of disk inode */
 #define        INOHINT(ip)     \
        (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
 
index 7fd125c8dd192ec6eb8837c7ab2f41cd2dfe5dbe..805877ce50204493b913577f6470250d7603467d 100644 (file)
@@ -132,7 +132,7 @@ struct logpage {
  * (this comment should be rewritten !)
  * jfs uses only "after" log records (only a single writer is allowed
  * in a page, pages are written to temporary paging space if
- * if they must be written to disk before commit, and i/o is
+ * they must be written to disk before commit, and i/o is
  * scheduled for modified pages to their home location after
  * the log records containing the after values and the commit
  * record is written to the log on disk, undo discards the copy
index c8ce7f1bc59424ba9f3db4ac4946d7ff04734a25..dca8edd2378ceba336a8e58f581ef97413f1cd4e 100644 (file)
@@ -1474,7 +1474,7 @@ static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
                 * For the LOG_NOREDOINOEXT record, we need
                 * to pass the IAG number and inode extent
                 * index (within that IAG) from which the
-                * the extent being released.  These have been
+                * extent is being released.  These have been
                 * passed to us in the iplist[1] and iplist[2].
                 */
                lrd->log.noredoinoext.iagnum =
index 16ad920f6fb189c9308b0bd74650b9b37eb7ee3c..3148e9b35f3bcbe71ca070ded6f25bd97197ffd3 100644 (file)
@@ -3684,7 +3684,7 @@ s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int flag)
  *
  * function:
  *     Perform truncate to zero length for deleted file, leaving the
- *     the xtree and working map untouched.  This allows the file to
+ *     xtree and working map untouched.  This allows the file to
  *     be accessed via open file handles, while the delete of the file
  *     is committed to disk.
  *