public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs: Add space after ',' and Fix typo
@ 2022-06-29 12:16 Zhang Jiaming
  0 siblings, 0 replies; only message in thread
From: Zhang Jiaming @ 2022-06-29 12:16 UTC (permalink / raw)
  To: dushistov; +Cc: linux-kernel, liqiong, renyu, Zhang Jiaming

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

Signed-off-by: Zhang Jiaming <jiaming@nfschina.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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-29 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29 12:16 [PATCH] fs: Add space after ',' and Fix typo Zhang Jiaming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox