Christoph Hellwig 87185517de 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 <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
2010-02-12 13:43:57 -06:00
..
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-01-26 15:10:15 +11:00
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:51:14 +02:00
2009-03-29 09:55:42 +02:00
2008-12-01 11:37:35 +11:00
2008-10-30 17:53:24 +11:00
2010-01-21 13:44:43 -06:00
2009-03-29 09:55:42 +02:00
2010-01-15 15:33:02 -06:00
2009-08-31 14:46:22 -05:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-02-08 17:41:48 -06:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:55:42 +02:00
2009-09-01 12:46:16 -05:00
2009-03-29 09:55:42 +02:00
2010-01-20 10:44:58 +11:00
2009-06-08 15:33:32 +02:00
2009-12-14 23:08:16 -06:00