looks good On Sat, Nov 16, 2024 at 12:32 AM Easwar Hariharan <eahar...@linux.microsoft.com> wrote: > > Changes made with the following Coccinelle rules: > > @@ constant C; @@ > > - msecs_to_jiffies(C * 1000) > + secs_to_jiffies(C) > > @@ constant C; @@ > > - msecs_to_jiffies(C * MSEC_PER_SEC) > + secs_to_jiffies(C) > > Signed-off-by: Easwar Hariharan <eahar...@linux.microsoft.com> > --- > fs/ceph/quota.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ceph/quota.c b/fs/ceph/quota.c > index > 06ee397e0c3a6172592e62dba95cd267cfff0db1..d90eda19bcc4618f98bfed833c10a6071cf2e2ac > 100644 > --- a/fs/ceph/quota.c > +++ b/fs/ceph/quota.c > @@ -166,7 +166,7 @@ static struct inode *lookup_quotarealm_inode(struct > ceph_mds_client *mdsc, > if (IS_ERR(in)) { > doutc(cl, "Can't lookup inode %llx (err: %ld)\n", realm->ino, > PTR_ERR(in)); > - qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX > */ > + qri->timeout = jiffies + secs_to_jiffies(60); /* XXX */ > } else { > qri->timeout = 0; > qri->inode = in; > > -- > 2.34.1 > >
- [PATCH v2 01/21] netfilter: conntrack: Cleanup timeout d... Easwar Hariharan
- Re: [PATCH v2 01/21] netfilter: conntrack: Cleanup ... Stephen Rothwell
- Re: [PATCH v2 01/21] netfilter: conntrack: Clea... Easwar Hariharan
- Re: [PATCH v2 01/21] netfilter: conntrack: Cleanup ... Christophe Leroy
- Re: [PATCH v2 01/21] netfilter: conntrack: Clea... Easwar Hariharan
- [PATCH v2 03/21] arm: pxa: Convert timeouts to use secs_... Easwar Hariharan
- Re: [PATCH v2 03/21] arm: pxa: Convert timeouts to ... Christophe Leroy
- [PATCH v2 04/21] s390: kernel: Convert timeouts to use s... Easwar Hariharan
- Re: [PATCH v2 04/21] s390: kernel: Convert timeouts... Heiko Carstens
- [PATCH v2 18/21] ceph: Convert timeouts to secs_to_jiffi... Easwar Hariharan
- Re: [PATCH v2 18/21] ceph: Convert timeouts to secs... Alex Markuze
- [PATCH v2 17/21] staging: vc04_services: Convert timeout... Easwar Hariharan
- [PATCH v2 20/21] ALSA: line6: Convert timeouts to secs_t... Easwar Hariharan
- [PATCH v2 21/21] nfp: Convert timeouts to secs_to_jiffie... Easwar Hariharan
- Re: [PATCH v2 21/21] nfp: Convert timeouts to secs_... Christophe Leroy
- [PATCH v2 09/21] drm/etnaviv: Convert timeouts to secs_t... Easwar Hariharan
- Re: [PATCH v2 09/21] drm/etnaviv: Convert timeouts ... Christian Gmeiner
- [PATCH v2 15/21] wifi: ath11k: Convert timeouts to secs_... Easwar Hariharan
- [PATCH v2 14/21] gve: Convert timeouts to secs_to_jiffie... Easwar Hariharan
- [PATCH v2 13/21] xen/blkback: Convert timeouts to secs_t... Easwar Hariharan