]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Do not compare an FD_t < 0
authorRod Widdowson <rdw@steadingsoftware.com>
Fri, 28 Jan 2011 16:49:03 +0000 (16:49 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 28 Jan 2011 20:27:14 +0000 (12:27 -0800)
commit299e942ae98dfea3a4804c724e5d440715974e0c
tree783987a83542e861a1a69df8d4403d7ba0793cc9
parent52556d50298e4a636f07e9a3cf0b6557c882c82d
Do not compare an FD_t < 0

FD_t is an abstract type.  Invalid file decriptors are == INVALID_FD.
In most places this module does the right thing.  Fix the last
stragglers where it is testing as less than zero.

Change-Id: I9ae3db8775ce69da070a4ebef5a532e1db035977
Reviewed-on: http://gerrit.openafs.org/3768
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/namei_ops.c