nilfs2: fix lock order reversal in chcp operation
[safe/jmp/linux-2.6] / fs / nfs / super.c
index a2c18ac..90be551 100644 (file)
@@ -1253,6 +1253,7 @@ static int nfs_parse_mount_options(char *raw,
                        default:
                                dfprintk(MOUNT, "NFS:   unrecognized "
                                                "transport protocol\n");
+                               kfree(string);
                                return 0;
                        }
                        break;