]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/super.c
mm/cma_debug.c: fix stack corruption due to sprintf usage
[karo-tx-linux.git] / fs / super.c
index adb0c0de428c2c88c0322ae739cbe108f01ae085..6bc3352adcf39fc5ed6cad77b5df5c9d7db3f9cc 100644 (file)
@@ -168,7 +168,6 @@ static void destroy_super(struct super_block *s)
        WARN_ON(!list_empty(&s->s_mounts));
        put_user_ns(s->s_user_ns);
        kfree(s->s_subtype);
-       kfree(s->s_options);
        call_rcu(&s->rcu, destroy_super_rcu);
 }
 
@@ -508,7 +507,7 @@ retry:
                        return ERR_PTR(-ENOMEM);
                goto retry;
        }
-               
+
        err = set(s, data);
        if (err) {
                spin_unlock(&sb_lock);
@@ -771,7 +770,7 @@ restart:
        spin_unlock(&sb_lock);
        return NULL;
 }
+
 struct super_block *user_get_super(dev_t dev)
 {
        struct super_block *sb;