diff mbox series

ceph: convert comma to semicolon

Message ID 20240709064400.869619-1-nichen@iscas.ac.cn (mailing list archive)
State New
Headers show
Series ceph: convert comma to semicolon | expand

Commit Message

Chen Ni July 9, 2024, 6:44 a.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 fs/ceph/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Xiubo Li July 10, 2024, 7:18 a.m. UTC | #1
On 7/9/24 14:44, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
>   fs/ceph/dir.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
> index 5aadc56e0cc0..18c72b305858 100644
> --- a/fs/ceph/dir.c
> +++ b/fs/ceph/dir.c
> @@ -1589,7 +1589,7 @@ void __ceph_dentry_dir_lease_touch(struct ceph_dentry_info *di)
>   	}
>   
>   	spin_lock(&mdsc->dentry_list_lock);
> -	__dentry_dir_lease_touch(mdsc, di),
> +	__dentry_dir_lease_touch(mdsc, di);
>   	spin_unlock(&mdsc->dentry_list_lock);
>   }
>   
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Ilya Dryomov July 10, 2024, 8:17 a.m. UTC | #2
On Wed, Jul 10, 2024 at 9:18 AM Xiubo Li <xiubli@redhat.com> wrote:
>
>
> On 7/9/24 14:44, Chen Ni wrote:
> > Replace a comma between expression statements by a semicolon.
> >
> > Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> > ---
> >   fs/ceph/dir.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
> > index 5aadc56e0cc0..18c72b305858 100644
> > --- a/fs/ceph/dir.c
> > +++ b/fs/ceph/dir.c
> > @@ -1589,7 +1589,7 @@ void __ceph_dentry_dir_lease_touch(struct ceph_dentry_info *di)
> >       }
> >
> >       spin_lock(&mdsc->dentry_list_lock);
> > -     __dentry_dir_lease_touch(mdsc, di),
> > +     __dentry_dir_lease_touch(mdsc, di);
> >       spin_unlock(&mdsc->dentry_list_lock);
> >   }
> >
> Reviewed-by: Xiubo Li <xiubli@redhat.com>

Applied.

Thanks,

                Ilya
diff mbox series

Patch

diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index 5aadc56e0cc0..18c72b305858 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -1589,7 +1589,7 @@  void __ceph_dentry_dir_lease_touch(struct ceph_dentry_info *di)
 	}
 
 	spin_lock(&mdsc->dentry_list_lock);
-	__dentry_dir_lease_touch(mdsc, di),
+	__dentry_dir_lease_touch(mdsc, di);
 	spin_unlock(&mdsc->dentry_list_lock);
 }