]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/block_dev.c: no need to check inode->i_bdev in bd_forget()
authorYan Hong <clouds.yan@gmail.com>
Fri, 28 Sep 2012 00:19:02 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:06:41 +0000 (16:06 +1000)
commit28a0a7beba3f1f538c66fd368ae3096a2c23ad62
tree43767c96b3589a439b11c5eff79a806c33883039
parentad346f7f27059a1bb6d9c93160bc10115e61c2d2
fs/block_dev.c: no need to check inode->i_bdev in bd_forget()

Its only caller evict() has promised a non-NULL inode->i_bdev.

Signed-off-by: Yan Hong <clouds.yan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/block_dev.c