summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/orangefs/file.c')
-rw-r--r--fs/orangefs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index 7e6fe8d8ab2b..d865b58fb1fc 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -250,6 +250,7 @@ populate_shared_memory:
* 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;