Re: [PATCH] Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option

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

 



OGAWA Hirofumi writes:
 > Um.., probably, this patch would be handle the invalid chars for 8.3 alias.
 > Otherwise, it'll try to create ~<num> postfix, and I guess it'll become
 > the dcache problem.

Do you think that will cause problems? 

If it will, then we could add something like this after the
vfat_create_shortname() call:

	if (strncasecmp(name, msdos_name, MSDOS_NAME) != 0) {
		err = -EINVAL;
		goto out_free;
	}

or would the potential case change still be a problem?

Cheers, Tridge
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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