]> 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>
Tue, 26 Mar 2013 23:24:14 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:04:12 +0000 (17:04 +1100)
commitdafa37925e0031e0d831ae268cb18dbc70c2524f
tree9acea0201dee0e8e52692c5f8ce7a4d7e62ce46b
parent6dcdc5ae9eb3489a77d2cc2ca0b2596edb8f3565
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