afs: Consolidate afs_calc_inum
authorAndrew Deason <adeason@sinenomine.net>
Wed, 6 Jul 2011 19:21:53 +0000 (14:21 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 7 Jul 2011 05:51:10 +0000 (22:51 -0700)
commit2dc7ee2757f6d2ac7c2ff21ec4a9936719e884b5
tree4e94b9d52d9ce30dec7c1959584d9474fe1a97cc
parent3a33ce4a336223ac8aebe2fc24fd69459ab9e9db
afs: Consolidate afs_calc_inum

Instead of having two separate afs_calc_inum functions, just have one
afs_calc_inum, and split off the md5 inode code into its own function
under a LINUX20 ifdef.

Change-Id: I400d2e70403905da40055238ffc2bb785659e9e0
Reviewed-on: http://gerrit.openafs.org/4920
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_util.c