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;
- [PATCH v2 0/2] Add FITRIM ioctl support for exFAT files... Hyeongseok Kim
- [PATCH v2 2/2] exfat: add support FITRIM ioctl Hyeongseok Kim
- Re: [PATCH v2 2/2] exfat: add support FITRIM i... Chaitanya Kulkarni
- Re: [PATCH v2 2/2] exfat: add support FITR... Hyeongseok Kim
- [PATCH v2 1/2] exfat: add initial ioctl function Hyeongseok Kim
- Re: [PATCH v2 1/2] exfat: add initial ioctl fu... Chaitanya Kulkarni
- Re: [PATCH v2 1/2] exfat: add initial ioct... Hyeongseok Kim
- Re: [PATCH v2 1/2] exfat: add initial ... Chaitanya Kulkarni
- Re: [PATCH v2 1/2] exfat: add ini... Hyeongseok Kim
- Re: [PATCH v2 1/2] exfat: add... Namjae Jeon
- Re: [PATCH v2 1/2] exfat:... Hyeongseok Kim