aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2009-01-07 16:48:52 -0600
committerDavid Teigland <teigland@redhat.com>2009-01-08 15:12:31 -0600
commit892c4467e335e9050c95e0d8409c136c4dadaca2 (patch)
treeaa5fda6f6f6db529212980def510edf8810debfc /fs/file.c
parent238c6d54830c624f34ac9cf123ac04aebfca5013 (diff)
downloadkernel_samsung_smdk4412-892c4467e335e9050c95e0d8409c136c4dadaca2.zip
kernel_samsung_smdk4412-892c4467e335e9050c95e0d8409c136c4dadaca2.tar.gz
kernel_samsung_smdk4412-892c4467e335e9050c95e0d8409c136c4dadaca2.tar.bz2
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 <teigland@redhat.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions