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)
commitb810075002c9f25a6da83cecda39d789000a04a9
treefd5915a041c532ec0d2f9ab8da84cc071fa95460
parent6048e4c69d80600baba35856651056860d5d8f5a
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 b9b73f7c (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