aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 6101879a730f..c3ac67cffe62 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -339,7 +339,7 @@ static int alloc_disk_sb(mdk_rdev_t * rdev)
339static void free_disk_sb(mdk_rdev_t * rdev) 339static void free_disk_sb(mdk_rdev_t * rdev)
340{ 340{
341 if (rdev->sb_page) { 341 if (rdev->sb_page) {
342 page_cache_release(rdev->sb_page); 342 put_page(rdev->sb_page);
343 rdev->sb_loaded = 0; 343 rdev->sb_loaded = 0;
344 rdev->sb_page = NULL; 344 rdev->sb_page = NULL;
345 rdev->sb_offset = 0; 345 rdev->sb_offset = 0;