ntfs: Remove unneeded semicolon
PATCH 1/1 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(-)
fs/ntfs/super.c +2 -2
@@ -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
2022-11-06 0:31 GMT+09:00, Shaomin Deng <[email protected]>:
Quoted 3 lines
Remove the unneeded semicolon after curly braces.
Signed-off-by Shaomin Deng <[email protected]>
Reviewed-by Namjae Jeon <[email protected]>
Quoted 30 lines
--- fs/ntfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/ntfs/super.c +2
-3@@ -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
Christian Brauner
AppliedQuoted 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