]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: FunctionFS: Fix missing braces in parse_opts
authorBenoit Goby <benoit@android.com>
Wed, 9 Jan 2013 03:57:09 +0000 (19:57 -0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 12:11:11 +0000 (14:11 +0200)
commit05005c2148a06b1c2a4410a126d84e930347c985
treefd5915a041c532ec0d2f9ab8da84cc071fa95460
parent555f39d44820c093159314587f0dd537811f4b68
usb: gadget: FunctionFS: Fix missing braces in parse_opts

Add missing braces around an if block in ffs_fs_parse_opts. This broke
parsing the uid/gid mount options and causes mount to fail when using
uid/gid. This has been introduced by commit 9759f146 (userns: Convert usb
functionfs to use kuid/kgid where appropriate) in 3.7.

Cc: <stable@vger.kernel.org>
Signed-off-by: Benoit Goby <benoit@android.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_fs.c