]> 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>
Sat, 3 Nov 2012 00:42:10 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:30 +0000 (15:08 +1100)
commit777a16dce3bcd19c0de9dd110cbdda1456bc3894
tree5c6fcb459747c1f85ebd51925f28547e0f700898
parentf895360cab20b53cd1d153df86fbe6028dba454c
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