OpenAFS CVS Commit: openafs/src/afs by zacheiss
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Tue, 19 Nov 2002 22:18:47 EST
Update of /cvs/openafs/src/afs
In directory GRAND.CENTRAL.ORG:/home/zacheiss/openafs-stable-1_2_x/openafs/src/afs
Modified Files:
Tag: openafs-stable-1_2_x
afs_vcache.c
Log Message:
DELTA STABLE12-linux-dcache-flushing-fix-22-kernels-20021119
AUTHOR zacheiss@mit.edu
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 for openafs-stable-1_2_x follows ---
STABLE12-linux-dcache-flushing-fix-22-kernels-20021119 openafs/src/afs/afs_vcache.c 1.9.2.17 1.9.2.18