From 7132d48d83f79992773b6d9f1cace8d96366f08b Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 1 Jan 2008 12:25:36 -0500 Subject: [PATCH] Fix build failure on non-Linux/non-Hurd/non-Masix systems The previous fix didn't quite work, but this one should! Addresses-Sourceforge-Bug: #1861633 Signed-off-by: "Theodore Ts'o" --- lib/ext2fs/ext2_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h index e124e95..7e58219 100644 --- a/lib/ext2fs/ext2_fs.h +++ b/lib/ext2fs/ext2_fs.h @@ -453,8 +453,8 @@ struct ext2_inode_large { #define inode_uid(inode) ((inode).i_uid) #define inode_gid(inode) ((inode).i_gid) #else -#define inode_uid(inode) ((inode).i_uid | (inode).i_uid_high << 16) -#define inode_gid(inode) ((inode).i_gid | (inode).i_gid_high << 16) +#define inode_uid(inode) ((inode).i_uid | (inode).osd2.linux2.l_i_uid_high << 16) +#define inode_gid(inode) ((inode).i_gid | (inode).osd2.linux2.l_i_gid_high << 16) #endif /* -- 1.8.3.1