]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
libcephfs/test.cc: close fd before umount 3241/head
authorYan, Zheng <zyan@redhat.com>
Tue, 23 Dec 2014 02:22:00 +0000 (10:22 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 23 Dec 2014 02:22:00 +0000 (10:22 +0800)
Fixes: #10415
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/test/libcephfs/test.cc

index 9204150914e19ee340cf2c4df8bef208f2baf53e..ccedaa1230580424b2c4a942e95448c29d8b2f64 100644 (file)
@@ -1138,6 +1138,7 @@ TEST(LibCephFS, GetOsdCrushLocation) {
     }
   }
 
+  ceph_close(cmount, fd);
   ceph_shutdown(cmount);
 }