]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: remove a duplicate assert in xfs_setattr_size
authorChristoph Hellwig <hch@lst.de>
Mon, 30 Mar 2026 13:15:59 +0000 (15:15 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 7 Apr 2026 11:03:52 +0000 (13:03 +0200)
commit0f7d2a9e020812a787d7c6dfc98715f9c8f72f53
tree5769ca6a24b24035086f366437ac50f701f13584
parent7338419a5e4454cc7a2c9df6af712d6f5ab471e9
xfs: remove a duplicate assert in xfs_setattr_size

There already is an assert that checks for uid and gid changes besides a
lot of others at the beginning of the function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_iops.c