commit | 1f4cea3790bf44137192f441ee84af256e3bf809 | [log] [tgz] |
---|---|---|
author | Wengang Wang <wen.gang.wang@oracle.com> | Mon Jul 13 11:38:58 2009 +0800 |
committer | Joel Becker <joel.becker@oracle.com> | Mon Jul 20 17:36:07 2009 -0700 |
tree | 64c83d47e0ea24f14b0237d9d63426e7e5af9227 | |
parent | cbfa9639aea5007313b75ec43b689d5f9e0c037d [diff] |
ocfs2: Fail ocfs2_get_block() immediately when a block needs allocation ocfs2_get_block() does no allocation. Hole filling for writes should have happened farther up in the call chain. We detect this case and print an error, but we then continue with the function. We should be exiting immediately. Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>