]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rspreload: Call real.close in fd_close
authorSean Hefty <sean.hefty@intel.com>
Wed, 1 Aug 2012 23:26:11 +0000 (16:26 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 1 Aug 2012 23:26:11 +0000 (16:26 -0700)
commit1f27d8419b7b2503f997c75c64a548050e0d5712
treed24dd0fae6823a86b3a40de76ff29ff00831ae09
parentb8f3b02178571b9db3f31520c49b85c0fdc4bf65
rspreload: Call real.close in fd_close

The index into the preload lookup table is obtained by opening
/dev/null and use the returned value.  When closing the file,
use the real close call and not the preload close call.  This
is a minor optimization, but clarifies the expected operation.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>