>From Dominique Martinet <dominique.marti...@cea.fr>:
Dominique Martinet has uploaded this change for review. (
https://review.gerrithub.io/372149
Change subject: GPFS: add sys/sysmacros.h include to export.c
......................................................................
GPFS: add sys/sysmacros.h include to export.c
This fixes a new warning/error in Fedora 26:
src/FSAL/FSAL_GPFS/export.c: In function ‘get_quota’:
src/FSAL/FSAL_GPFS/export.c:241:13: error: In the GNU C Library,
"major" is defined by <sys/sysmacros.h>. For historical compatibility,
it is currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
[-Werror]
if ((major(path_stat.st_dev) != fs->dev.major) ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: If535e8000ddeeb54a69122de8e22379accc9fb11
Signed-off-by: Dominique Martinet <dominique.marti...@cea.fr>
---
M src/FSAL/FSAL_GPFS/export.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/49/372149/1
--
To view, visit https://review.gerrithub.io/372149
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: If535e8000ddeeb54a69122de8e22379accc9fb11
Gerrit-Change-Number: 372149
Gerrit-PatchSet: 1
Gerrit-Owner: Dominique Martinet <dominique.marti...@cea.fr>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel