diff options
author | Mike Marshall <hubcap@omnibond.com> | 2015-07-28 13:27:51 -0400 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2015-10-03 11:40:02 -0400 |
commit | 84d02150dea7571dc32176e35d65eecde82631a9 (patch) | |
tree | 0d2fe61c71db6eee07f7610eaf6d681f6dec56f3 /fs/orangefs/waitqueue.c | |
parent | 2c590d5fb6987e6579a82285b742a318cc1fdb50 (diff) | |
download | linux-84d02150dea7571dc32176e35d65eecde82631a9.tar.bz2 |
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); } } |