diff options
author | Jan Tulak <jtulak@redhat.com> | 2015-10-12 07:02:56 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-10-12 07:02:56 +0200 |
commit | 4e247614a92852e8eb29e49be094b6b981a7895f (patch) | |
tree | 2796d89b563e6288ffb6965f9e54a7286ecf075f /fs/xfs/xfs_ioctl32.c | |
parent | libxfs: fix two comment typos (diff) | |
download | linux-4e247614a92852e8eb29e49be094b6b981a7895f.tar.xz linux-4e247614a92852e8eb29e49be094b6b981a7895f.zip |
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 b88bdc85dd3d..1a05d8ae327d 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; /* |