From: Christoph Hellwig Date: Wed, 3 Feb 2010 19:43:31 +0000 (+0000) Subject: xfs: only clear the suid bit once in xfs_write X-Git-Tag: v2.6.34-rc1~278^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87185517de81101da5afbc82cefdeed6eeaa38fb;p=pandora-kernel.git xfs: only clear the suid bit once in xfs_write file_remove_suid already calls into ->setattr to clear the suid and sgid bits if needed, no need to start a second transaction to do it ourselves. Note that xfs_write_clear_setuid issues a sync transaction while the path through ->setattr doesn't, but that is consistant with the other filesystems. Signed-off-by: Christoph Hellwig Reviewed-by: Alex Elder Signed-off-by: Alex Elder --- Reading git-diff-tree failed