lkml.org 
[lkml]   [2009]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vfat creates multiple files with the same filename
On Wed, 1 Jul 2009, OGAWA Hirofumi wrote:

> Marton Balint <cus@fazekas.hu> writes:
>
> > On Tue, 30 Jun 2009, OGAWA Hirofumi wrote:
> >> Marton Balint <cus@fazekas.hu> writes:
> >>
> >> > I don't know if removing the invalid characters silently instead of
> >> > returning EINVAL is a good practice, but allowing two files with identical
> >> > filenames is definitely wrong.
> >>
> >> The utf8 function seems didn't return the error for invalid char.
> >>
> >> > Could someone please have a look at the problem? Unfortunately I am not
> >> > qualified enough to track it down...
> >> >
> >> > I've run the testcase on both 2.6.30 and 2.6.31-rc1 kernels, but this bug
> >> > is probably not very new, since I remember having it also in 2.6.27.
> >>
> >> This is quick hack though, this should return -EINVAL for invalid char
> >> like nls. Can you try this?
> >
> > It works for me, filenames with invalid utf-8 characters are now rejected,
> > so I no longer can create multiple files with the same name. Thanks for
> > the fix.
>
> Thanks for testing.

Will the patch be included in 2.6.31?

Regards,
Marton


\
 
 \ /
  Last update: 2009-07-06 21:15    [W:0.064 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site