Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

jfs: delete duplicated words + other fixes

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

authored by

Randy Dunlap and committed by
Dave Kleikamp
ed1c9a7a 585e5b17

+6 -6
+1 -1
fs/jfs/jfs_dmap.c
··· 668 668 * this does not succeed, we finally try to allocate anywhere 669 669 * within the aggregate. 670 670 * 671 - * we also try to allocate anywhere within the aggregate for 671 + * we also try to allocate anywhere within the aggregate 672 672 * for allocation requests larger than the allocation group 673 673 * size or requests that specify no hint value. 674 674 *
+1 -1
fs/jfs/jfs_extent.c
··· 575 575 * blkno - starting block number of the extents current allocation. 576 576 * nblks - number of blocks within the extents current allocation. 577 577 * newnblks - pointer to a s64 value. on entry, this value is the 578 - * the new desired extent size (number of blocks). on 578 + * new desired extent size (number of blocks). on 579 579 * successful exit, this value is set to the extent's actual 580 580 * new size (new number of blocks). 581 581 * newblkno - the starting block number of the extents new allocation.
+1 -1
fs/jfs/jfs_extent.h
··· 5 5 #ifndef _H_JFS_EXTENT 6 6 #define _H_JFS_EXTENT 7 7 8 - /* get block allocation allocation hint as location of disk inode */ 8 + /* get block allocation hint as location of disk inode */ 9 9 #define INOHINT(ip) \ 10 10 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1) 11 11
+1 -1
fs/jfs/jfs_logmgr.h
··· 132 132 * (this comment should be rewritten !) 133 133 * jfs uses only "after" log records (only a single writer is allowed 134 134 * in a page, pages are written to temporary paging space if 135 - * if they must be written to disk before commit, and i/o is 135 + * they must be written to disk before commit, and i/o is 136 136 * scheduled for modified pages to their home location after 137 137 * the log records containing the after values and the commit 138 138 * record is written to the log on disk, undo discards the copy
+1 -1
fs/jfs/jfs_txnmgr.c
··· 1474 1474 * For the LOG_NOREDOINOEXT record, we need 1475 1475 * to pass the IAG number and inode extent 1476 1476 * index (within that IAG) from which the 1477 - * the extent being released. These have been 1477 + * extent is being released. These have been 1478 1478 * passed to us in the iplist[1] and iplist[2]. 1479 1479 */ 1480 1480 lrd->log.noredoinoext.iagnum =
+1 -1
fs/jfs/jfs_xtree.c
··· 3684 3684 * 3685 3685 * function: 3686 3686 * Perform truncate to zero length for deleted file, leaving the 3687 - * the xtree and working map untouched. This allows the file to 3687 + * xtree and working map untouched. This allows the file to 3688 3688 * be accessed via open file handles, while the delete of the file 3689 3689 * is committed to disk. 3690 3690 *