s390/pkey: fix memory leak within _copy_apqns_from_user()
[linux-2.6-microblaze.git] / fs / super.c
index 8020974..f627b7c 100644 (file)
@@ -1555,11 +1555,6 @@ int vfs_get_tree(struct fs_context *fc)
        sb = fc->root->d_sb;
        WARN_ON(!sb->s_bdi);
 
-       if (fc->subtype && !sb->s_subtype) {
-               sb->s_subtype = fc->subtype;
-               fc->subtype = NULL;
-       }
-
        /*
         * Write barrier is for super_cache_count(). We place it before setting
         * SB_BORN as the data dependency between the two functions is the