]> 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, 9 Nov 2012 03:03:55 +0000 (14:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Nov 2012 05:15:18 +0000 (16:15 +1100)
commit1a6e0d15125c6d8b7a97bd6b03a26bc3d3560f9a
tree9fb172da9c563da6d84f14993bead05b3f0c03ce
parent07b03b21e4c00a70eae496f06e4d2c5415379b1c
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