storage/posix: Fix an access-after-free bug in release() and releasedir().
storage/posix: Fix an access-after-free bug in release() and releasedir().

Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 533 (close() should not block main loop)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=533

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster