Messages in this thread | | | From | Chaitanya Kulkarni <> | Subject | Re: [PATCH v2 2/2] exfat: add support FITRIM ioctl | Date | Tue, 16 Feb 2021 23:56:44 +0000 |
| |
On 2/16/21 14:36, Hyeongseok Kim wrote: > +static int exfat_ioctl_fitrim(struct inode *inode, unsigned long arg) > +{ > + struct super_block *sb = inode->i_sb; Do you really need sb variable ? it is only used once if I'm not wrong. > + struct request_queue *q = bdev_get_queue(sb->s_bdev); > + struct fstrim_range range; > + int ret = 0;
| |