]> Pileus Git - ~andy/linux/commit
Ext2: remove the overhead check about sb in the function ext2_new_blocks
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Wed, 6 Feb 2013 06:14:26 +0000 (14:14 +0800)
committerJan Kara <jack@suse.cz>
Wed, 6 Feb 2013 12:47:02 +0000 (13:47 +0100)
commit98783e453c1084527388ec1a7f6367cd6aabbe63
tree6a08492fbcb4c54cb32f6a584d7382f56669ff4b
parent288be96de66fa7c09f2cf00a7793db5b4bac4213
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: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c