]> 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>
Tue, 9 Oct 2012 03:12:11 +0000 (14:12 +1100)
commit2deeb46eeb4ca2c12f00ac7b68c9500a38979ca3
tree3496f4594a9048319deca700ace598a7c26c0433
parent9dbf1a591ae46c968055233e01baf481c57d449d
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