looks good On Fri, Nov 15, 2024 at 11:35 PM 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 07/22] accel/habanalabs: Convert timeouts to secs... Easwar Hariharan
- [PATCH 06/22] mm: kmemleak: Convert timeouts to secs_to_... Easwar Hariharan
- [PATCH 01/22] netfilter: conntrack: Cleanup timeout defi... Easwar Hariharan
- [PATCH 08/22] drm/xe: Convert timeout to secs_to_jiffies... Easwar Hariharan
- Re: [PATCH 08/22] drm/xe: Convert timeout to secs_t... Thomas Hellström
- [PATCH 09/22] drm/etnaviv: Convert timeouts to secs_to_j... Easwar Hariharan
- [PATCH 10/22] scsi: lpfc: Convert timeouts to secs_to_ji... Easwar Hariharan
- [PATCH 15/22] wifi: ath11k: Convert timeouts to secs_to_... Easwar Hariharan
- [PATCH 16/22] Bluetooth: MGMT: Convert timeouts to secs_... Easwar Hariharan
- [PATCH 18/22] ceph: Convert timeouts to secs_to_jiffies(... Easwar Hariharan
- Re: [PATCH 18/22] ceph: Convert timeouts to secs_to... Alex Markuze
- [PATCH 20/22] ALSA: line6: Convert timeouts to secs_to_j... Easwar Hariharan
- [PATCH 14/22] gve: Convert timeouts to secs_to_jiffies() Easwar Hariharan
- [PATCH 22/22] jiffies: Define secs_to_jiffies() Easwar Hariharan
- Re: [PATCH 22/22] jiffies: Define secs_to_jiffies() Jeff Johnson
- Re: [PATCH 22/22] jiffies: Define secs_to_jiffi... Easwar Hariharan
- [PATCH 19/22] livepatch: Convert timeouts to secs_to_jif... Easwar Hariharan
- Re: [PATCH 19/22] livepatch: Convert timeouts to se... Dan Carpenter
- [PATCH 11/22] scsi: arcmsr: Convert timeouts to secs_to_... Easwar Hariharan
- [PATCH 17/22] staging: vc04_services: Convert timeouts t... Easwar Hariharan
- [PATCH 12/22] scsi: pm8001: Convert timeouts to secs_to_... Easwar Hariharan