HDFS-15301. statfs function in hdfs-fuse not working. Contributed by Aryan Gupta.(#1980)
(cherry picked from commit 816042e62b
)
This commit is contained in:
parent
5f2e0d5729
commit
1272418f35
|
@ -3409,7 +3409,7 @@ tOffset hdfsGetUsed(hdfsFS fs)
|
|||
}
|
||||
fss = (jobject)jVal.l;
|
||||
jthr = invokeMethod(env, &jVal, INSTANCE, fss, JC_FS_STATUS,
|
||||
HADOOP_FSSTATUS,"getUsed", "()J");
|
||||
"getUsed", "()J");
|
||||
destroyLocalReference(env, fss);
|
||||
if (jthr) {
|
||||
errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||
|
|
Loading…
Reference in New Issue