]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
libcephfs/test.cc: close fd before umount 3268/head
authorYan, Zheng <zyan@redhat.com>
Tue, 23 Dec 2014 02:22:00 +0000 (10:22 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 26 Dec 2014 12:36:38 +0000 (20:36 +0800)
Fixes: #10415
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit d3fb563cee4c4cf08ff4ee01782e52a100462429)

src/test/libcephfs/test.cc

index 9d917f510384c0b746e986a331a44212f7035fec..6baadaed18507082282049d628013058948aeba6 100644 (file)
@@ -1138,6 +1138,7 @@ TEST(LibCephFS, GetOsdCrushLocation) {
     }
   }
 
+  ceph_close(cmount, fd);
   ceph_shutdown(cmount);
 }