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
e45faae1d4
commit
08dbe32122
|
@ -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