lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 29 Jun 2022 20:16:06 +0800
From:   Zhang Jiaming <jiaming@...china.com>
To:     dushistov@...l.ru
Cc:     linux-kernel@...r.kernel.org, liqiong@...china.com,
        renyu@...china.com, Zhang Jiaming <jiaming@...china.com>
Subject: [PATCH] fs: Add space after ',' and Fix typo

Add blank space after ','.
Change 'maped' to 'mapped'.

Signed-off-by: Zhang Jiaming <jiaming@...china.com>
---
 fs/ufs/inode.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index a873de7dec1c..3265ab820815 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -54,7 +54,7 @@ static int ufs_block_to_path(struct inode *inode, sector_t i_block, unsigned off
 	int n = 0;
 
 
-	UFSD("ptrs=uspi->s_apb = %d,double_blocks=%ld \n",ptrs,double_blocks);
+	UFSD("ptrs=uspi->s_apb = %d, double_blocks=%ld \n", ptrs, double_blocks);
 	if (i_block < direct_blocks) {
 		offsets[n++] = i_block;
 	} else if ((i_block -= direct_blocks) < indirect_blocks) {
@@ -469,7 +469,7 @@ static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buff
 
 static int ufs_writepage(struct page *page, struct writeback_control *wbc)
 {
-	return block_write_full_page(page,ufs_getfrag_block,wbc);
+	return block_write_full_page(page, ufs_getfrag_block, wbc);
 }
 
 static int ufs_read_folio(struct file *file, struct folio *folio)
@@ -521,7 +521,7 @@ static int ufs_write_end(struct file *file, struct address_space *mapping,
 
 static sector_t ufs_bmap(struct address_space *mapping, sector_t block)
 {
-	return generic_block_bmap(mapping,block,ufs_getfrag_block);
+	return generic_block_bmap(mapping, block, ufs_getfrag_block);
 }
 
 const struct address_space_operations ufs_aops = {
@@ -1088,7 +1088,7 @@ static int ufs_alloc_lastblock(struct inode *inode, loff_t size)
 	       clean_bdev_bh_alias(bh);
 	       /*
 		* we do not zeroize fragment, because of
-		* if it maped to hole, it already contains zeroes
+		* if it mapped to hole, it already contains zeroes
 		*/
 	       set_buffer_uptodate(bh);
 	       mark_buffer_dirty(bh);
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ