Ack: [PATCH][SRU][TRUSTY] btrfs: filter invalid arg for btrfs resize

Seth Forshee seth.forshee at canonical.com
Mon Mar 23 18:28:29 UTC 2015


On Mon, Mar 23, 2015 at 05:12:55PM +0000, Colin King wrote:
> From: Gui Hecheng <guihc.fnst at cn.fujitsu.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1435441
> 
> Originally following cmds will work:
> 	# btrfs fi resize -10A  <mnt>
> 	# btrfs fi resize -10Gaha <mnt>
> Filter the arg by checking the return pointer of memparse.
> 
> Signed-off-by: Gui Hecheng <guihc.fnst at cn.fujitsu.com>
> Signed-off-by: Chris Mason <clm at fb.com>
> (cherry pick from upstream commit 9a40f1222a372de77344d85d31f8fe0e1c0e60e7)
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Looks safe and reasonable.

Acked-by: Seth Forshee <seth.forshee at canonical.com>




More information about the kernel-team mailing list