[OpenAFS-devel] [PATCH CVS] use seq_file interface for Linux /proc

Christopher Allen Wing wingc@engin.umich.edu
Fri, 22 Apr 2005 16:43:40 -0400 (EDT)


Sorry, I didn't notice that this got changed in CVS in the past few days.

Here is a patch against today's CVS, branch 'openafs-stable-1_4_x':


	http://www-personal.engin.umich.edu/~wingc/openafs/patches/openafs-stable-1_4_x-20050422-seq_file.patch


This converts /proc/fs/openafs/CellServDB to use seq_file, and removes the
old csdbproc_read().


I can take a stab at converting the stuff from 'kdump-in-kernel-20041111'
to use seq_file if this is of interest to anyone.


Is anyone concerned about supporting the /proc interface for linux-2.2? If
not, we should probably use seq_file for everything. seq_file first
appeared in 2.4.15 (which is 4 years old), so basically any 2.4 linux
distribution today will have it.


Thanks,

Chris Wing
wingc@engin.umich.edu