Merge commit 'refs/remotes/origin/linux-symbol-collisions' into HEAD

This commit is contained in:
Brian Behlendorf 2009-06-26 14:35:27 -07:00
commit fa414f7b77
3 changed files with 7 additions and 19 deletions

View File

@ -1,3 +1 @@
gcc-branch
fix-branch
feature-branch
zfs-branch

17
.topmsg
View File

@ -1,19 +1,6 @@
From: Brian Behlendorf <behlendorf1@llnl.gov>
Subject: [PATCH] zfs branch
Subject: [PATCH] linux symbol collisions
Merged result of all changes which are relevant to both Solaris
and Linux builds of the ZFS code. These are changes where there
is a reasonable chance they will be accepted upstream.
Additionally, since this is effectively the root of the linux
ZFS tree the core linux build system is added here. This
includes autogen.sh, configure.ac, m4 macros, some scripts/*,
and makefiles for all the core ZFS components. Linux-only
features which require tweaks to the build system should appear
on the relevant topic branches. All autotools products which
result from autogen.sh are commited to the linux-configure-branch.
This branch also contains the META, ChangeLog, AUTHORS, TODO,
and README, files.
Resolve Linux symbol collisions
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

View File

@ -114,9 +114,12 @@ extern "C" {
/*
* Convert mode bits (zp_mode) to BSD-style DT_* values for storing in
* the directory entries.
* the directory entries. On Linux systems this value is already
* defined correctly as part of the /usr/include/dirent.h header file.
*/
#ifndef IFTODT
#define IFTODT(mode) (((mode) & S_IFMT) >> 12)
#endif
/*
* The directory entry has the type (currently unused on Solaris) in the