瀏覽代碼

HDFS-15301. statfs function in hdfs-fuse not working. Contributed by Aryan Gupta.(#1980)

(cherry picked from commit 816042e62bf472a58d9f6dbce1123e9af6d06fb0)
Aryan Gupta 5 年之前
父節點
當前提交
1272418f35
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c

@@ -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,