I bisected this issue down to commit 1d2ef5901483004d74947bbf78d5146c24038fe7 when building a kernel for lucid.
If I build 003f6c9df54970d8b19578d195b3e2b398cdbde2 using mainline-build-one for lucid which is the commit immediately prior to 1d2ef5901483004d74947bbf78d5146c24038fe7 the resulting kernel works fine on lucid. However if I build the same commit using mainline-build-one 003f6c9df54970d8b19578d195b3e2b398cdbde2 precise rmdir works fine, but rm -rf does not on precise.
I bisected this issue down to commit 1d2ef5901483004 d74947bbf78d514 6c24038fe7 when building a kernel for lucid.
If I build 003f6c9df54970d 8b19578d195b3e2 b398cdbde2 using mainline-build-one for lucid which is the commit immediately prior to 1d2ef5901483004 d74947bbf78d514 6c24038fe7 the resulting kernel works fine on lucid. However if I build the same commit using mainline-build-one 003f6c9df54970d 8b19578d195b3e2 b398cdbde2 precise rmdir works fine, but rm -rf does not on precise.