]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados/misc.cc: reverse offset and length on write call
authorSamuel Just <sam.just@inktank.com>
Tue, 9 Jul 2013 17:35:09 +0000 (10:35 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Tue, 9 Jul 2013 21:09:25 +0000 (14:09 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/test/librados/misc.cc

index a23c0d23f6e6394bf8310a7a4becd443b6c42635..6cb7cf5452ac4c4166f1a0119e6bd84c5b61c150 100644 (file)
@@ -405,7 +405,7 @@ TEST(LibRadosMisc, BigObjectPP) {
 
 #ifdef __LP64__
   // this test only works on 64-bit platforms
-  ASSERT_EQ(-EFBIG, ioctx.write("foo", bl, 500000000000ull, bl.length()));
+  ASSERT_EQ(-EFBIG, ioctx.write("foo", bl, bl.length(), 500000000000ull));
 #endif
 
   ioctx.close();