Move context of CacheFetchProc from afs_dcache.c to afs_fetchstore.c
authorFelix Frank <Felix.Frank@Desy.de>
Tue, 14 Jul 2009 08:51:03 +0000 (10:51 +0200)
committerDerrick Brashear <shadow@dementia.org>
Fri, 14 Aug 2009 19:27:44 +0000 (12:27 -0700)
commit1cfa2259eca210ca480f16a725ca70f5cfc2c8d4
tree806ce06347caa8a57184bab88cbfab058fb86b90
parent3a48ae3e243b695ac5bb3b35aa3b09641db1af3b
Move context of CacheFetchProc from afs_dcache.c to afs_fetchstore.c

GetDCache() is quite bloated. This inlinining makes code more
readable. For protocols to come besides rxfs (such as rxosd), some
initializations may need to be performed differently. Thus, much
has to be moved to the specific rxfs_fetchInit() function rather than
afs_CacheFetchProc() proper.

Reviewed-on: http://gerrit.openafs.org/112
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs.h
src/afs/afs_dcache.c
src/afs/afs_fetchstore.c
src/afs/afs_prototypes.h