On Feb 27, 2007  13:22 -0600, Suneet Chandok wrote:
> While compiling kernel-2.6.16.21 patched with lustre-1.4.9 for SUSE10, I got
> following error:
> 
> fs/open.c: In function 'do_truncate':
> fs/open.c:219: error: 'ATTR_FROM_OPEN' undeclared (first use in this
> function)
> fs/open.c:219: error: (Each undeclared identifier is reported only once
> fs/open.c:219: error: for each function it appears in.)
> fs/open.c:221: error: 'ATTR_RAW' undeclared (first use in this function)
> fs/open.c: In function 'sys_utime':
> fs/open.c:423: error: 'ATTR_RAW' undeclared (first use in this function)
> fs/open.c: In function 'chmod_common':
> fs/open.c:659: error: 'ATTR_RAW' undeclared (first use in this function)
> fs/open.c: In function 'chown_common':
> fs/open.c:737: error: 'ATTR_RAW' undeclared (first use in this function)
> 
> I found few ATTR_* variables defined in $KDIR\include/linux/fs.h but not
> ATTR_FROM_OPEN and ATTR_RAW.
> 
> Please let me know if any additional information is required.

These are patched into fs.h via the lustre vfs_intent* patches.  I suspect
your patch didn't apply properly.  Note that the CFS patches are for SLES10
and not SUSE10.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to