Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ebcc3fc authored by Mike Marshall's avatar Mike Marshall
Browse files

Orangefs: added a couple of WARN_ONs, perhaps just temporarily.

parent 237f8282
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ static ssize_t wait_for_direct_io(enum ORANGEFS_io_type type, struct inode *inod
			 * put error codes in downcall so that handle_io_error()
			 * preserves it properly
			 */
			WARN_ON(!op_state_serviced(new_op));
			new_op->downcall.status = ret;
			handle_io_error();
			goto out;
+1 −0
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@ int service_operation(struct orangefs_kernel_op_s *op,

		/* op uses shared memory */
		if (orangefs_get_bufmap_init() == 0) {
			WARN_ON(1);
			/*
			 * This operation uses the shared memory system AND
			 * the system is not yet ready. This situation occurs