summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorYumei Huang <yuhuang@redhat.com>2021-01-23 03:48:19 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-01-23 03:54:50 +0300
commit88a9e03beef22cc5fabea344f54b9a0dfe63de08 (patch)
treeb0d56c443f516cac5d4a0bdb253944d091a17b29 /fs/xfs/xfs_mount.c
parent01ea173e103edd5ec41acec65b9261b87e123fc2 (diff)
downloadlinux-88a9e03beef22cc5fabea344f54b9a0dfe63de08.tar.xz
xfs: Fix assert failure in xfs_setattr_size()
An assert failure is triggered by syzkaller test due to ATTR_KILL_PRIV is not cleared before xfs_setattr_size. As ATTR_KILL_PRIV is not checked/used by xfs_setattr_size, just remove it from the assert. Signed-off-by: Yumei Huang <yuhuang@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions