summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/recovery.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-02-03 19:43:31 +0000
committerAlex Elder <aelder@sgi.com>2010-02-12 13:43:57 -0600
commit87185517de81101da5afbc82cefdeed6eeaa38fb (patch)
tree29cb781d74d5e81d941e1a913222de90f6266477 /fs/ubifs/recovery.c
parent5322892d867e186c6b4c5fff5c99ea4863696a60 (diff)
downloadlinux-87185517de81101da5afbc82cefdeed6eeaa38fb.tar.bz2
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>
Diffstat (limited to 'fs/ubifs/recovery.c')
0 files changed, 0 insertions, 0 deletions