]> 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>
Wed, 3 Oct 2012 06:46:41 +0000 (16:46 +1000)
commitf653d92689183a562c7d2306a85f68c4ee4bcf4a
treeeba9b81802ad702ef1296a0020c04ef20920179d
parent6eca24429c5739fb2c317c21b9fb5752559829a3
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