fts: do not fail on a submount during traversal
authorKamil Dudka <kdudka@redhat.com>
Tue, 10 Nov 2009 13:26:56 +0000 (14:26 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sun, 15 Nov 2009 02:57:07 +0000 (02:57 +0000)
commit3739c199af439901640e825f74eb356510f87895
tree83063d18ce6c2ba360c3c2068951198cf274fbbc
parentc9698f2f8dd80758977044212790bcf650dc4377
fts: do not fail on a submount during traversal

* lib/fts.c (fts_build): Read the stat info again after opening
a directory if the FTS_TIGHT_CYCLE_CHECK flag is set.
Original report at http://bugzilla.redhat.com/501848.
(cherry picked from commit ac67780e88411e8fcb94cda0a9e0a9abab6f8369)
ChangeLog
lib/fts.c