Ext3: add necessary check in case IO error happens
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sat, 12 Jan 2013 09:22:33 +0000 (01:22 -0800)
committerJan Kara <jack@suse.cz>
Mon, 21 Jan 2013 10:19:56 +0000 (11:19 +0100)
As we know io error may happen when the function 'sb_getblk'
is called.Add necessary check for it

The patch also fix a coding style problem.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c

diff --cc fs/ext3/inode.c
Simple merge