From: Lachlan McIlroy Date: Thu, 30 Jun 2011 01:01:45 +0000 (+1000) Subject: block: initialise bd_super in bdget() X-Git-Tag: v3.1-rc1~91^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782b94cdf577b4df1feb376f372dccc28e66a771;p=pandora-kernel.git block: initialise bd_super in bdget() bd_super is currently reset to NULL in kill_block_super() so we rely on previous users of the block_device object to initialise this value for the next user. This quirk was exposed on RHEL5 when a third party filesystem did not always use kill_block_super() and therefore bd_super wasn't being reset when a block_device object was recycled within the cache. This may not be a problem upstream but makes sense to be defensive. Signed-off-by: Lachlan McIlroy Reviewed-by: Eric Sandeen Signed-off-by: Al Viro --- Reading git-diff-tree failed