diff options
author | Wang Shilong <wangsl-fnst@cn.fujitsu.com> | 2013-01-12 01:19:32 -0800 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2013-01-21 11:19:56 +0100 |
commit | 8d8759eb488f9e88fa5f976c4fd7ed205661c872 (patch) | |
tree | 3c33cd06749c2c1caba82b3fcab64789c9f3aab0 /fs/ext3 | |
parent | f56426ae4d4414c9c996567710dceecbdfc39acc (diff) | |
download | op-kernel-dev-8d8759eb488f9e88fa5f976c4fd7ed205661c872.zip op-kernel-dev-8d8759eb488f9e88fa5f976c4fd7ed205661c872.tar.gz |
Ext2: free memory allocated and forget buffer head when io error happens
Add a necessary check when an io error happens.
If io error happens,free the memory allocated and forget
buffer head.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions