]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Fail ocfs2_get_block() immediately when a block needs allocation
authorWengang Wang <wen.gang.wang@oracle.com>
Mon, 13 Jul 2009 03:38:58 +0000 (11:38 +0800)
committerJoel Becker <joel.becker@oracle.com>
Tue, 21 Jul 2009 00:36:07 +0000 (17:36 -0700)
commit317107db6f294c3b9adea9824effa30a6ce082aa
tree64c83d47e0ea24f14b0237d9d63426e7e5af9227
parent47746b0f2c0e47a64dc6f6b877810b951d419d1c
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>
fs/ocfs2/aops.c