ihandle: Ensure FDH_REALLYCLOSE really closes
authorAndrew Deason <adeason@sinenomine.net>
Tue, 22 Mar 2011 21:36:47 +0000 (16:36 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 24 Mar 2011 16:20:33 +0000 (09:20 -0700)
commita50f4c8d802c7b1c258a9cbe388dfab50425596b
tree2eb9cc44d885c0e39f633f3b3026f277cf5d33d8
parentf41ee7d17267381c4e67eec2f35f298cc272397e
ihandle: Ensure FDH_REALLYCLOSE really closes

If FDH_REALLYCLOSE is given an FdHandle_t that has more than one user,
currently it does effectively nothing. Ensure that the file descriptor
actually gets closed on a subsequent FDH_CLOSE, but setting the new
fd_needs_rclose field.

Change-Id: I04794662ca64e6be718da82e10994a4a7bc0b39a
Reviewed-on: http://gerrit.openafs.org/4274
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/ihandle.c
src/vol/ihandle.h