]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kill suid bit only for regular files
authorDmitri Monakhov <dmonakhov@openvz.org>
Mon, 1 Dec 2008 22:34:56 +0000 (14:34 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 5 Jan 2009 16:53:07 +0000 (11:53 -0500)
commit7f5ff766a7babd72fc192125e12ef5570effff4c
treec41659d7614ea70c3dc853c6187f1860d030888b
parent5b6f1eb97d462a45be3b30759758b5fdbb562c8c
kill suid bit only for regular files

We don't have to do it because it is useless for non regular files.
In fact block device may trigger this path without dentry->d_inode->i_mutex.

(akpm: concerns were expressed (by me) about S_ISDIR inodes)

Signed-off-by: Dmitri Monakhov <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/filemap.c