Repository: hadoop Updated Branches: refs/heads/branch-2 0221d19f4 -> 8552af91f
HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison via Colin P. McCabe) (cherry picked from commit 1b764a01fd8010cf9660eb378977a1b2b81f330a) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8552af91 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8552af91 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8552af91 Branch: refs/heads/branch-2 Commit: 8552af91f4a44e16129ac41d4acbae0d444e570f Parents: 0221d19 Author: Colin Patrick Mccabe <[email protected]> Authored: Fri Jun 26 10:21:40 2015 -0700 Committer: Colin Patrick Mccabe <[email protected]> Committed: Fri Jun 26 10:28:14 2015 -0700 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_open.c | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/8552af91/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 341e07f..641d8bd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -340,6 +340,9 @@ Release 2.8.0 - UNRELEASED HDFS-8546. Use try with resources in DataStorage and Storage. (wang) + HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison + via Colin P. McCabe) + OPTIMIZATIONS HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than http://git-wip-us.apache.org/repos/asf/hadoop/blob/8552af91/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_open.c ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_open.c b/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_open.c index 9ca2650..ca670ce 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_open.c +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_impls_open.c @@ -24,9 +24,6 @@ #include <stdio.h> #include <stdlib.h> -static int get_hdfs_open_flags_from_info(hdfsFS fs, const char *path, - int flags, int *outflags, const hdfsFileInfo *info); - /** * Given a set of FUSE flags, determine the libhdfs flags we need. * @@ -47,7 +44,6 @@ static int get_hdfs_open_flags_from_info(hdfsFS fs, const char *path, */ static int64_t get_hdfs_open_flags(hdfsFS fs, const char *path, int flags) { - int hasContent; int64_t ret; hdfsFileInfo *info;
