Message ID | 20180708210154.10423-3-ebiggers3@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/super.c b/fs/super.c index e6052a72f3558..a992dd0f27670 100644 --- a/fs/super.c +++ b/fs/super.c @@ -559,7 +559,7 @@ struct super_block *sget_fc(struct fs_context *fc, hlist_add_head(&s->s_instances, &s->s_type->fs_supers); spin_unlock(&sb_lock); get_filesystem(s->s_type); - register_shrinker(&s->s_shrink); + register_shrinker_prepared(&s->s_shrink); return s; } EXPORT_SYMBOL(sget_fc);