Correct EXT3_TOPDIR_FL behaviour

From: Duane Griffin
Date: Mon Jun 02 2008 - 20:27:23 EST


Hi folks,

I'm looking at http://bugzilla.kernel.org/show_bug.cgi?id=9866, where
the reporter is claiming that EXT3_TOPDIR_FL (chattr +T) is behaving
incorrectly by being inherited from the parent. As mentioned in the
bug, it also only seems to only make sense for directories but
ext{2,3,4} is happy to set it on anything. It seems to me that the
reporter is correct and the behaviour should be changed to prevent the
flag being inherited and to limit it to directories only. If there is
no disagreement I'll follow-up with patches accordingly.

Cheers,
Duane.

--
"I never could learn to drink that blood and call it wine" - Bob Dylan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/