[PATCH 2.5] XFS redefine AT_UID and AT_GID

From: abslucio (lucio@terra.com.br)
Date: Sat Nov 23 2002 - 15:36:26 EST


Hello....

This patch fixes this redefines in linux-2.5.49...

In file included from fs/xfs/linux/xfs_linux.h:56,
                 from fs/xfs/xfs.h:54,
                 from fs/xfs/xfs_acl.c:33:
fs/xfs/linux/xfs_vnode.h:546: warning: `AT_UID' redefined
include/linux/elf.h:172: warning: this is the location of the previous definition
fs/xfs/linux/xfs_vnode.h:547: warning: `AT_GID' redefined
include/linux/elf.h:174: warning: this is the location of the previous definition
....

This happens, because linux/module.h is including linux/elf.h that define AT_UID and AT_GID...

i just renamed the XFS Attributes defines from AT_XXX to XFS_AT_XXX

best regards.

Lucio Maciel
abslucio@terra.com.br



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:43 EST