Re: [PATCH v5 02/13] exfat: add super block operations

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

 



>> +{
>> +	struct exfat_sb_info *sbi = sb->s_fs_info;
>> +	struct exfat_mount_options *opts = &sbi->options;
>> +	struct inode *root_inode;
>> +	int err;
>> +
>> +	if (opts->allow_utime == -1)
>> +		opts->allow_utime = ~opts->fs_dmask & 0022;
>
> This throws a warning when building with W=1:
>
>   CC [M]  fs/exfat/super.o
> fs/exfat/super.c: In function 'exfat_fill_super':
> fs/exfat/super.c:552:24: warning: comparison is always false due to limited
> range of data type [-Wtype-limits]
>   552 |  if (opts->allow_utime == -1)
>       |                        ^~
Okay, I will fix it on next version.
Thanks for review!



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

  Powered by Linux