Changeset 9007
- Timestamp:
- 08/11/11 14:06:53 (22 months ago)
- Location:
- branches/Orange-Branch
- Files:
-
- 2 modified
-
include/pvfs2-types.h (modified) (1 diff)
-
src/client/sysint/sys-list-eattr.sm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/Orange-Branch/include/pvfs2-types.h
r8957 r9007 521 521 #define PVFS_MAX_XATTR_VALUELEN 8192 /* Not the same as XATTR_SIZE_MAX defined 522 522 by <linux/xattr.h> */ 523 #define PVFS_MAX_XATTR_LISTLEN 8/* Not the same as XATTR_LIST_MAX523 #define PVFS_MAX_XATTR_LISTLEN 16 /* Not the same as XATTR_LIST_MAX 524 524 defined by <linux/xattr.h> */ 525 525 -
branches/Orange-Branch/src/client/sysint/sys-list-eattr.sm
r8941 r9007 81 81 * let's enfore the max key buffer of PVFS_MAX_XATTR_NAMELEN 82 82 */ 83 if( resp_p->nkey > PVFS_REQ_LIMIT_EATTR_LIST ) 83 84 if( nkey > PVFS_REQ_LIMIT_EATTR_LIST ) 84 85 { 85 86 gossip_debug(GOSSIP_CLIENT_DEBUG, "%s: requested number of keys, %d, " … … 89 90 } 90 91 91 for( i=0; i < resp_p->nkey; i++ )92 for( i=0; i < nkey; i++ ) 92 93 { 93 94 if( resp_p->key_array[i].buffer_sz > PVFS_MAX_XATTR_NAMELEN )
