OpenAFS CVS Commit: openafs/src/afs by zacheiss

Tue, 19 Nov 2002 22:13:23 EST

Update of /cvs/openafs/src/afs
In directory GRAND.CENTRAL.ORG:/home/zacheiss/openafs/src/afs

Modified Files:
Log Message:

DELTA linux-dcache-flushing-fix-22-kernels-20021119

Make this work with Linux 2.2 kernels again.  In particular, 

- Use the DCOUNT() macro from afs.h instead of atomic_read, because
  the d_count member of a struct dentry is an int in the 2.2 series,
  not an atomic_t.

- Use list_del() + INIT_LIST_HEAD() on 2.2, which doesn't have list_del_init().

- BUG() only exists on 2.4 kernels.  Just don't use it on 2.2.

--- DELTA config follows ---
linux-dcache-flushing-fix-22-kernels-20021119 openafs/src/afs/afs_vcache.c 1.43 1.44