diff options
author | Jan Tulak <jtulak@redhat.com> | 2015-10-12 16:02:56 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-10-12 16:02:56 +1100 |
commit | 4e247614a92852e8eb29e49be094b6b981a7895f (patch) | |
tree | 2796d89b563e6288ffb6965f9e54a7286ecf075f /fs/xfs/xfs_ioctl.c | |
parent | fef4ded8cb2e53a47093b334e7730d55a3badc59 (diff) | |
download | linux-4e247614a92852e8eb29e49be094b6b981a7895f.tar.bz2 |
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_ioctl.c')
-rw-r--r-- | fs/xfs/xfs_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c index ea7d85af5310..0e692a68aad5 100644 --- a/fs/xfs/xfs_ioctl.c +++ b/fs/xfs/xfs_ioctl.c @@ -411,7 +411,7 @@ xfs_attrlist_by_handle( if (copy_from_user(&al_hreq, arg, sizeof(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; /* |