Re: [PATCH v1] exfat: move extend valid_size into ->page_mkwrite()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Wed, Apr 03, 2024 at 07:34:08AM +0000, Yuezhang.Mo@xxxxxxxx wrote:
>> +static int exfat_file_mmap(struct file *file, struct vm_area_struct *vma)
>> +{
>> +     struct address_space *mapping = file->f_mapping;
>> +
>> +     if (!mapping->a_ops->read_folio)
>> +             return -ENOEXEC;
> 
> Why do you need this check?

This check is always false, it's no need, I will remove it.





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux