Skip to content
Commit b4ea2eaa authored by Yan Hong's avatar Yan Hong Committed by Linus Torvalds
Browse files

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: default avatarYan Hong <clouds.yan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 04df32fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment