Skip to contentSkip to conversation

Support for dx directories in ext3_get_parent (NFSD)

PATCH Bodo Eggert <[email protected]> 2 participants 3 messages May 9, 2005 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 1 line · Andreas Dilger

+ if (namelen > 2 || name[0] != '.'||(name[1] != '.' && name[1] != '\0')){

The patch was supposed to affect only '..'.

Maybe you can add a 'unlikely', too.

Signature · 1 line
A "sucking chest wound" is nature's way of telling you to slow down. 
#3 lore raw

Hi,

Quoted 5 lines · Bodo Eggert
Quoted 1 line · Andreas Dilger

+ if (namelen > 2 || name[0] != '.'||(name[1] != '.' && name[1] != '\0')){

The patch was supposed to affect only '..'.

"." is an equivalent special case in htree. It seems reasonable to include it here for completeness.

--Stephen

#4 lore raw
Quoted 9 lines · Stephen C. Tweedie
Quoted 5 lines · Bodo Eggert
Quoted 1 line · Andreas Dilger

+ if (namelen > 2 || name[0] != '.'||(name[1] != '.' && name[1] != '\0')){

The patch was supposed to affect only '..'.

"." is an equivalent special case in htree. It seems reasonable to include it here for completeness.

OK, but the comment should be adjusted.

Signature · 1 line
Backups? We doan NEED no steenking baX%^~,VbKx NO CARRIER