From: David Teigland Date: Wed, 7 Jan 2009 22:48:52 +0000 (-0600) Subject: dlm: fix seq_file usage in debugfs lock dump X-Git-Tag: v2.6.29-rc2~110^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892c4467e335e9050c95e0d8409c136c4dadaca2;p=pandora-kernel.git dlm: fix seq_file usage in debugfs lock dump The old code would leak iterators and leave reference counts on rsbs because it was ignoring the "stop" seq callback. The code followed an example that used the seq operations differently. This new code is based on actually understanding how the seq operations work. It also improves things by saving the hash bucket in the position to avoid cycling through completed buckets in start. Siged-off-by: Davd Teigland --- Reading git-diff-tree failed