]> git.hungrycats.org Git - linux/commit
[ATM]: seq_file for /proc/net/atm (devices) [1/8] (from romieu@fr.zoreil.com)
authorChas Williams <char@cmf.nrl.navy.mil>
Thu, 11 Sep 2003 11:16:57 +0000 (04:16 -0700)
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Thu, 11 Sep 2003 11:16:57 +0000 (04:16 -0700)
commitd002298e030e3afd159267a04e215aab45609e52
treecac67ee37b9a38557c435274980211a196cc0d03
parentdfdd4d51ae37f5919095ef03c517b3961a6bcd53
[ATM]: seq_file for /proc/net/atm (devices) [1/8] (from romieu@fr.zoreil.com)

seq_file conversion for proc/atm/devices:
- code inspired from seq_file use in net/core/dev.c;
- atm_dev_lock taken/released in atm_dev_seq_{start/stop};
- add a helper CREATE_SEQ_ENTRY() similar to CREATE_ENTRY() (both are removed
  once conversion is done).
- atm_dev_seq_{start/stop/next} done in net/atm/resource.[ch] to ease
  future handling of atm_devs and locking structure (per Chas suggestion)
net/atm/proc.c
net/atm/resources.c
net/atm/resources.h