summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/file.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-02-04 16:28:31 -0500
committerMike Marshall <hubcap@omnibond.com>2016-02-04 16:28:31 -0500
commit6ebcc3fcdac1f70078a02ab11f2aa5a88a4fdaee (patch)
treeed020ce4a0e95277b70349d668550ccfadcd70bc /fs/orangefs/file.c
parent237f8282c04ba81926f4dfc33cd2ca20bb0c50e7 (diff)
downloadlinux-6ebcc3fcdac1f70078a02ab11f2aa5a88a4fdaee.tar.bz2
Orangefs: added a couple of WARN_ONs, perhaps just temporarily.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
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;