From: Christoph Jaeger Date: Sat, 12 Apr 2014 11:33:13 +0000 (+0200) Subject: btrfs: fix use-after-free in mount_subvol() X-Git-Tag: omap-for-v3.16/pm-signed~41^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0040e606e35a0db80fc3fac04ccc7c7176a8e2b1;p=pandora-kernel.git btrfs: fix use-after-free in mount_subvol() Pointer 'newargs' is used after the memory that it points to has already been freed. Picked up by Coverity - CID 1201425. Fixes: 0723a0473f ("btrfs: allow mounting btrfs subvolumes with different ro/rw options") Signed-off-by: Christoph Jaeger Signed-off-by: Chris Mason --- Reading git-diff-tree failed