From: Dave Chinner Date: Mon, 27 May 2013 06:38:25 +0000 (+1000) Subject: xfs: kill suid/sgid through the truncate path. X-Git-Tag: v3.10-rc4~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2962f5a5dcc56f69cbf62121a7be67cc15d6940b;p=pandora-kernel.git 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 Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Ben Myers (cherry picked from commit 56c19e89b38618390addfc743d822f99519055c6) --- Reading git-diff-tree failed