Skip to contentSkip to conversation

ntfs: Remove unneeded semicolon

PATCH Applied Shaomin Deng 3 participants 3 messages Nov 5, 2022 – May 19, 2023 NTFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ntfs: Remove unneeded semicolon

Remove the unneeded semicolon after curly braces.

---
 fs/ntfs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ntfs/super.c +2 -2
index 001f4e053c85..6165fe7d0ac6 100644
@@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
 		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
 		memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
Signature · 1 line
2.35.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

2022-11-06 0:31 GMT+09:00, Shaomin Deng <[email protected]>:

Quoted 3 lines

Remove the unneeded semicolon after curly braces.

Quoted 30 lines
---
 fs/ntfs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ntfs/super.c +2 -3
index 001f4e053c85..6165fe7d0ac6 100644
@@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
 		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
 		memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
--

2.35.1

#2 lore raw
In reply to Shaomin Deng
Quoted 3 lines · Shaomin Deng

Remove the unneeded semicolon after curly braces.

Applied to the fs.ntfs branch of the vfs/vfs.git tree. Patches in the fs.ntfs branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: fs.ntfs

[1/1] ntfs: Remove unneeded semicolon

      https://git.kernel.org/vfs/vfs/c/6405fee9b0d0