From: Kay Sievers Date: Wed, 13 Jan 2010 13:16:36 +0000 (+0100) Subject: Driver-Core: devtmpfs - reset inode permissions before unlinking X-Git-Tag: v2.6.34-rc1~1^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e31d76f2817bd50258a092a7c5b15b3006fd61c;p=pandora-kernel.git Driver-Core: devtmpfs - reset inode permissions before unlinking Before unlinking the inode, reset the current permissions of possible references like hardlinks, so granted permissions can not be retained across the device lifetime by creating hardlinks, in the unusual case that there is a user-writable directory on the same filesystem. Signed-off-by: Kay Sievers Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed