Commit 56c19e89 authored by Committed by Ben Myers
xfs: kill suid/sgid through the truncate path.
XFS has failed to kill suid/sgid bits correctly when truncating files of non-zero size since commit c4ed4243 ("xfs: split xfs_setattr") introduced in the 3.1 kernel. Fix it. Fix it. cc: stable kernel <email@example.com> Signed-off-by: Dave Chinner <firstname.lastname@example.org> Reviewed-by: Brian Foster <email@example.com> Signed-off-by: Ben Myers <firstname.lastname@example.org>
Showing with 32 additions and 15 deletions