]> git.neil.brown.name Git - history.git/commit
[PATCH] remove_suid() fix
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:44:02 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:44:02 +0000 (18:44 -0800)
commit588d614133dc638694f7655ff82d9aa82ed8d0d3
treeb84ba12d9f0d00f398ef755389e7feb445399cb7
parentfea7cfba267ccbc10f83658adc7a7bd1011f97bb
[PATCH] remove_suid() fix

From: viro@parcelfarce.linux.theplanet.co.uk

bernhard_heibler@gmx.de has discovered that NFS is very slow when writing to
a file which has execute permissions.  See

http://bugme.osdl.org/show_bug.cgi?id=1936

This patch fixes remove_suid() to not try to modify the inode mode on every
write to such a file.
mm/filemap.c