Applied this one too!

BTW, an easier workflow than sending patches to the list is to accumulate 
a batch of fixes in a branch and submit a pull request via github (at 
least if you're already a github user).  Whichever works well for you.

Thanks!
s

On Sun, 3 Nov 2013, Xing Lin wrote:

> unmount and release cmount at the end of tests
> 
> Signed-off-by: Xing Lin <xing...@cs.utah.edu>
> ---
>  src/test/libcephfs/readdir_r_cb.cc | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/test/libcephfs/readdir_r_cb.cc 
> b/src/test/libcephfs/readdir_r_cb.cc
> index 788260b..4a99f10 100644
> --- a/src/test/libcephfs/readdir_r_cb.cc
> +++ b/src/test/libcephfs/readdir_r_cb.cc
> @@ -54,4 +54,8 @@ TEST(LibCephFS, ReaddirRCB) {
>    ASSERT_LE(0, ceph_opendir(cmount, c_dir, &dirp));
>    ASSERT_EQ(5, ceph_getdnames(cmount, dirp, buf, 6));
>    ASSERT_EQ(4, ceph_getdnames(cmount, dirp, buf, 6));
> +
> +  // free cmount after finishing testing
> +  ASSERT_EQ(0, ceph_unmount(cmount));
> +  ASSERT_EQ(0, ceph_release(cmount));
>  }
> -- 
> 1.8.3.4 (Apple Git-47)
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to