From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755812AbZEBKls (ORCPT ); Sat, 2 May 2009 06:41:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752709AbZEBKlh (ORCPT ); Sat, 2 May 2009 06:41:37 -0400 Received: from mail.samba.org ([66.70.73.150]:57365 "EHLO lists.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbZEBKlg (ORCPT ); Sat, 2 May 2009 06:41:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18940.9039.850580.48730@samba.org> Date: Sat, 2 May 2009 20:41:19 +1000 To: OGAWA Hirofumi Cc: Dave Kleikamp , Steve French , Mingming Cao , Paul McKenney , LKML , linux-fsdevel Subject: Re: [PATCH] Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option In-Reply-To: <87bpqbaji9.fsf@devron.myhome.or.jp> References: <1241199689.13073.6.camel@norville.austin.ibm.com> <87fxfnbytu.fsf@devron.myhome.or.jp> <87ws8zak1m.fsf@devron.myhome.or.jp> <87bpqbaji9.fsf@devron.myhome.or.jp> X-Mailer: VM 8.0.12 under 22.2.1 (x86_64-pc-linux-gnu) Reply-To: tridge@samba.org From: tridge@samba.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org OGAWA Hirofumi writes: > Um.., probably, this patch would be handle the invalid chars for 8.3 alias. > Otherwise, it'll try to create ~ 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