]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
java: fill in stat structure correctly 2787/head
authorNoah Watkins <noahwatkins@gmail.com>
Thu, 23 Oct 2014 20:22:52 +0000 (13:22 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Thu, 23 Oct 2014 20:58:23 +0000 (13:58 -0700)
commit44a8d59b10fcde4cde63487435acaf494025bc01
tree4281636c87af4d785be3d8433ca5aad4c56a7cd0
parentf2178d6ac4d551bf2487a4fcf2ad0800e379934c
java: fill in stat structure correctly

Added stat filling helper function but only stat and lstat were updated.
This patch makes fstat use it. Crucially the fstat wasn't updating the
mode flags.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/java/native/libcephfs_jni.cc