]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
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)
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>

No differences found