diff options
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r-- | drivers/md/bitmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index abe415f0c039..ee4a3424a8a3 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -626,8 +626,7 @@ static void bitmap_file_unmap(struct bitmap *bitmap) | |||
626 | kfree(map); | 626 | kfree(map); |
627 | kfree(attr); | 627 | kfree(attr); |
628 | 628 | ||
629 | if (sb_page) | 629 | safe_put_page(sb_page); |
630 | put_page(sb_page); | ||
631 | } | 630 | } |
632 | 631 | ||
633 | static void bitmap_stop_daemon(struct bitmap *bitmap); | 632 | static void bitmap_stop_daemon(struct bitmap *bitmap); |