OSDN Git Service

e2fsck: Count the root directory as found if it has shared blocks in pass1c
authorJim Garlick <garlick@llnl.gov>
Fri, 20 Apr 2007 12:14:27 +0000 (08:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Apr 2007 12:14:27 +0000 (08:14 -0400)
commit81cae650b7356ce493f93a33370d6a8c00f5948e
tree591ac86a4aa0422517442d351e4fd07cf6aa5c12
parentd362a3fb7ec1a2b46601f55f4dbae83563c27717
e2fsck: Count the root directory as found if it has shared blocks in pass1c

Another small bug I think: if the root directory contains shared
blocks, e2fsck pass1c search_dirent_proc() will be looking for
one more containing directory than it will ever find, and thus
loses an opportunity to terminate early.

Signed-off-by: Jim Garlick <garlick@llnl.gov>
e2fsck/pass1b.c