mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
Orangefs: added a couple of WARN_ONs, perhaps just temporarily.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
parent
237f8282c0
commit
6ebcc3fcda
@ -250,6 +250,7 @@ populate_shared_memory:
|
|||||||
* put error codes in downcall so that handle_io_error()
|
* put error codes in downcall so that handle_io_error()
|
||||||
* preserves it properly
|
* preserves it properly
|
||||||
*/
|
*/
|
||||||
|
WARN_ON(!op_state_serviced(new_op));
|
||||||
new_op->downcall.status = ret;
|
new_op->downcall.status = ret;
|
||||||
handle_io_error();
|
handle_io_error();
|
||||||
goto out;
|
goto out;
|
||||||
|
@ -205,6 +205,7 @@ retry_servicing:
|
|||||||
|
|
||||||
/* op uses shared memory */
|
/* op uses shared memory */
|
||||||
if (orangefs_get_bufmap_init() == 0) {
|
if (orangefs_get_bufmap_init() == 0) {
|
||||||
|
WARN_ON(1);
|
||||||
/*
|
/*
|
||||||
* This operation uses the shared memory system AND
|
* This operation uses the shared memory system AND
|
||||||
* the system is not yet ready. This situation occurs
|
* the system is not yet ready. This situation occurs
|
||||||
|
Loading…
Reference in New Issue
Block a user