diff options
author | Mike Marshall <hubcap@omnibond.com> | 2015-07-28 19:27:51 +0200 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2015-10-03 17:40:02 +0200 |
commit | 84d02150dea7571dc32176e35d65eecde82631a9 (patch) | |
tree | 0d2fe61c71db6eee07f7610eaf6d681f6dec56f3 /fs/orangefs/waitqueue.c | |
parent | Orangefs: kernel client update 1. (diff) | |
download | linux-84d02150dea7571dc32176e35d65eecde82631a9.tar.xz linux-84d02150dea7571dc32176e35d65eecde82631a9.zip |
Orangefs: sooth most sparse complaints
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/waitqueue.c')
-rw-r--r-- | fs/orangefs/waitqueue.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c index 9b32286a7dc4..ad79e534dc8e 100644 --- a/fs/orangefs/waitqueue.c +++ b/fs/orangefs/waitqueue.c @@ -314,6 +314,13 @@ void pvfs2_clean_up_interrupted_operation(struct pvfs2_kernel_op_s *op) spin_unlock(&op->lock); gossip_err("interrupted operation is in a weird state 0x%x\n", op->op_state); + } else { + /* + * It is not intended for execution to flow here, + * but having this unlock here makes sparse happy. + */ + gossip_err("%s: can't get here.\n", __func__); + spin_unlock(&op->lock); } } |