diff options
author | Josef Bacik <josef@redhat.com> | 2010-02-25 20:38:35 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-13 13:20:12 -0700 |
commit | 55f32f8ac693e2bb4081d7cec1144b0250182267 (patch) | |
tree | b399e8fd346d0da5e98233a4b1f6d78ec314c1fb /drivers | |
parent | f827e15f9ff7f653a3fff45487faf1460edd7705 (diff) |
Btrfs: kfree correct pointer during mount option parsing
commit da495ecc0fb096b383754952a1c152147bc95b52 upstream.
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>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions