X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Ffs%2Fxfs%2Fxfs_ioctl32.c;h=1a05d8ae327dbc2fa0e6d3212bbfde1a209a5502;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=b88bdc85dd3db365230d51e31fc97030ed2de38d;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/fs/xfs/xfs_ioctl32.c b/kernel/fs/xfs/xfs_ioctl32.c index b88bdc85d..1a05d8ae3 100644 --- a/kernel/fs/xfs/xfs_ioctl32.c +++ b/kernel/fs/xfs/xfs_ioctl32.c @@ -356,7 +356,7 @@ xfs_compat_attrlist_by_handle( sizeof(compat_xfs_fsop_attrlist_handlereq_t))) return -EFAULT; if (al_hreq.buflen < sizeof(struct attrlist) || - al_hreq.buflen > XATTR_LIST_MAX) + al_hreq.buflen > XFS_XATTR_LIST_MAX) return -EINVAL; /*