]> git.michaelhowe.org Git - packages/o/openafs.git/commit
bypasscache: do errors correctly
authorDerrick Brashear <shadow@dementix.org>
Thu, 6 Oct 2011 08:04:36 +0000 (04:04 -0400)
committerDerrick Brashear <shadow@dementix.org>
Wed, 26 Oct 2011 22:54:06 +0000 (15:54 -0700)
commitd7ed88fce430fc004daefe46eda0817a353e8580
tree07c0226fb9d230f0dc424c33ec558232b76e9a8f
parent5391ef073266a3110692792933e206574136d583
bypasscache: do errors correctly

do set errors when we bomb out early
do not unlock and return early when we happen to do a correct zero
length read
do set errors the kernel can deal with if we're feeding a page routine

Reviewed-on: http://gerrit.openafs.org/5554
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 28a159b2bfff7ad450dce612601a0286d4f91df5)

Change-Id: I4f2e1b50a3c0856a08281e0ffbfaa7cbb71db2c4
Reviewed-on: http://gerrit.openafs.org/5716
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/afs/afs_bypasscache.c