Skip to content
Commit 98783e45 authored by Wang Shilong's avatar Wang Shilong Committed by Jan Kara
Browse files

Ext2: remove the overhead check about sb in the function ext2_new_blocks



It can be guranteed that inode->i_sb should not be null in vfs.
So here the check about it is overhead.

Signed-off-by: default avatarWang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 288be96d
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