Skip to content
Commit da495ecc authored by Josef Bacik's avatar Josef Bacik Committed by Chris Mason
Browse files

Btrfs: kfree correct pointer during mount option parsing



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: default avatarAndy Lutomirski <luto@mit.edu>

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 6bef4d31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment