diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/backing-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index c91e139a652e..8fe9d3407921 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -598,7 +598,7 @@ static void bdi_prune_sb(struct backing_dev_info *bdi) | |||
598 | spin_lock(&sb_lock); | 598 | spin_lock(&sb_lock); |
599 | list_for_each_entry(sb, &super_blocks, s_list) { | 599 | list_for_each_entry(sb, &super_blocks, s_list) { |
600 | if (sb->s_bdi == bdi) | 600 | if (sb->s_bdi == bdi) |
601 | sb->s_bdi = NULL; | 601 | sb->s_bdi = &default_backing_dev_info; |
602 | } | 602 | } |
603 | spin_unlock(&sb_lock); | 603 | spin_unlock(&sb_lock); |
604 | } | 604 | } |