Re: patch for fs max name length

Linus Torvalds (torvalds@transmeta.com)
Sun, 6 Sep 1998 10:40:07 -0700 (PDT)


On Sun, 6 Sep 1998, Bill Hawes wrote:
>
> Currently there are about 50 places in the kernel where a filesystem
> tests whether a name exceeds the allowable maximum. Generally the name
> being checked is in a dentry, and since dentry names are created in one
> place, most of these individual tests could be eliminated by checking
> the name length at creation time.

Looks like 2.3 material to me.

Also, there are filesystems that have a "soft" length limit. For example,
the msdosfs name length restrictions are certainly much more complex than
just a single number, and as such I'm not at all convinced that this is
something that the VFS layer should care about..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html