]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the MAXNAMELEN check from xfs_attr_args_init
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Apr 2020 20:08:34 +0000 (16:08 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 29 Apr 2020 20:08:34 +0000 (16:08 -0400)
commit35f4d7c4d6e863a96647d47f23425d87d03628d0
tree2952acbeab93f06e10ba5e98231b514fe498ff0f
parent9c0d4ea9ce569bc9fae3ff451ae02d9e7aed275d
xfs: remove the MAXNAMELEN check from xfs_attr_args_init

Source kernel commit: 4df28c64e4388ac5fa59cd58f9fd6592aae533a2

All the callers already check the length when allocating the
in-kernel xattrs buffers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c