Skip to content

Commit

Permalink
libcephfs/test.cc: close fd before umount
Browse files Browse the repository at this point in the history
Fixes: #10415
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit d3fb563)
  • Loading branch information
ukernel committed Dec 26, 2014
1 parent b1ab685 commit aa95a2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/libcephfs/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,7 @@ TEST(LibCephFS, GetOsdCrushLocation) {
}
}

ceph_close(cmount, fd);
ceph_shutdown(cmount);
}

Expand Down

0 comments on commit aa95a2d

Please sign in to comment.