]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[patch 1/5] vfs: truncate: dont check immutable twice
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 24 Jun 2008 14:50:12 +0000 (16:50 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:15 +0000 (20:53 -0400)
commitc82e42da8a6b2f3a85dc4d4278cb8238702f8f64
tree50fb5b52e5c08a20ff4f34f7073e199890f4419e
parente6305c43eda10ebfd2ad9e35d6e172ccc7bb3695
[patch 1/5] vfs: truncate: dont check immutable twice

vfs_permission(MAY_WRITE) already checked for the inode being
immutable, so no need to repeat it.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Acked-by: Christoph Hellwig <hch@infradead.org>
fs/open.c