diff options
author | Jan Tulak <jtulak@redhat.com> | 2015-10-12 05:02:56 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-10-12 05:02:56 (GMT) |
commit | 4e247614a92852e8eb29e49be094b6b981a7895f (patch) | |
tree | 2796d89b563e6288ffb6965f9e54a7286ecf075f /fs/xfs/xfs_ioctl32.c | |
parent | fef4ded8cb2e53a47093b334e7730d55a3badc59 (diff) | |
download | linux-4e247614a92852e8eb29e49be094b6b981a7895f.tar.xz |
xfs: prefix XATTR_LIST_MAX with XFS_
Remove a hard dependency of Linux XATTR_LIST_MAX value by using
a prefixed version. This patch reflects the same change in xfsprogs.
Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl32.c')
-rw-r--r-- | fs/xfs/xfs_ioctl32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c index b88bdc8..1a05d8a 100644 --- a/fs/xfs/xfs_ioctl32.c +++ b/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; /* |