diff options
Diffstat (limited to 'fs/btrfs/ordered-data.c')
-rw-r--r-- | fs/btrfs/ordered-data.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c index b695f5b29c45..e42fd233e04c 100644 --- a/fs/btrfs/ordered-data.c +++ b/fs/btrfs/ordered-data.c | |||
@@ -557,6 +557,7 @@ int btrfs_find_ordered_sum(struct inode *inode, u64 offset, u32 *sum) | |||
557 | } | 557 | } |
558 | out: | 558 | out: |
559 | mutex_unlock(&tree->mutex); | 559 | mutex_unlock(&tree->mutex); |
560 | btrfs_put_ordered_extent(ordered); | ||
560 | return ret; | 561 | return ret; |
561 | } | 562 | } |
562 | 563 | ||