]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC of 249064:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Apr 2013 00:12:32 +0000 (00:12 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Apr 2013 00:12:32 +0000 (00:12 +0000)
commit4e753902a77b80c96b7ba780dc1503e118dce77b
treeb73d2643c862b57badea75ac05b1292f2d93b734
parenteb426db1797e867775898911212e47d6b88a5630
MFC of 249064:

The code in clear_remove() and clear_inodedeps() skips one entry
in the pagedep and inodedep hash tables. An entry in the table is
skipped because 'pagedep_hash' and 'inodedep_hash' hold the size
of the hash tables - 1.

The chance that this would have any operational failure is extremely
unlikely. These funtions only need to find a single entry and are
only called when there are too many entries. The chance that they
would fail because all the entries are on the single skipped hash
chain are remote.

Submitted by: Pedro Martelletto
Reviewed by:  kib

git-svn-id: svn://svn.freebsd.org/base/stable/9@249597 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ffs/ffs_softdep.c