2022-11-05 16:00:17

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] ntfs: Remove unneeded semicolon

Remove the unneeded semicolon after curly braces.

Signed-off-by: Shaomin Deng <[email protected]>
---
fs/ntfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 001f4e053c85..6165fe7d0ac6 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -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



2023-05-06 01:11:07

by Namjae Jeon

[permalink] [raw]
Subject: Re: [PATCH] ntfs: Remove unneeded semicolon

2022-11-06 0:31 GMT+09:00, Shaomin Deng <[email protected]>:
> Remove the unneeded semicolon after curly braces.
>
> Signed-off-by: Shaomin Deng <[email protected]>
Reviewed-by: Namjae Jeon <[email protected]>

> ---
> fs/ntfs/super.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
> index 001f4e053c85..6165fe7d0ac6 100644
> --- a/fs/ntfs/super.c
> +++ b/fs/ntfs/super.c
> @@ -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
>
>

2023-05-19 10:07:34

by Christian Brauner

[permalink] [raw]
Subject: Re: [PATCH] ntfs: Remove unneeded semicolon

On Sat, 05 Nov 2022 11:31:35 -0400, Shaomin Deng wrote:
> 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