Btrfs: kfree correct pointer during mount option parsing
authorJosef Bacik <josef@redhat.com>
Thu, 25 Feb 2010 20:38:35 +0000 (20:38 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 8 Mar 2010 21:26:50 +0000 (16:26 -0500)
We kstrdup the options string, but then strsep screws with the pointer,
so when we kfree() it, we're not giving it the right pointer.

Tested-by: Andy Lutomirski <luto@mit.edu>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found