diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr_remote.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_attr_remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_attr_remote.c b/fs/xfs/libxfs/xfs_attr_remote.c index f38f9bd81557..5ab95ffa4ae9 100644 --- a/fs/xfs/libxfs/xfs_attr_remote.c +++ b/fs/xfs/libxfs/xfs_attr_remote.c | |||
@@ -107,7 +107,7 @@ xfs_attr3_rmt_verify( | |||
107 | if (be32_to_cpu(rmt->rm_bytes) > fsbsize - sizeof(*rmt)) | 107 | if (be32_to_cpu(rmt->rm_bytes) > fsbsize - sizeof(*rmt)) |
108 | return false; | 108 | return false; |
109 | if (be32_to_cpu(rmt->rm_offset) + | 109 | if (be32_to_cpu(rmt->rm_offset) + |
110 | be32_to_cpu(rmt->rm_bytes) > XATTR_SIZE_MAX) | 110 | be32_to_cpu(rmt->rm_bytes) > XFS_XATTR_SIZE_MAX) |
111 | return false; | 111 | return false; |
112 | if (rmt->rm_owner == 0) | 112 | if (rmt->rm_owner == 0) |
113 | return false; | 113 | return false; |