reiserfs: Fix unreachable statement
authorJiri Slaby <jslaby@suse.cz>
Wed, 6 Jan 2010 22:09:50 +0000 (23:09 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 7 Jan 2010 13:03:18 +0000 (14:03 +0100)
commite0baec1b63632f25ea8101b76edaca0accc061ec
treed4395fde34e5c1d714c14e17ffe38f280ebadb0f
parent6c28705418de012216161b14a2ff1dda3da3d786
reiserfs: Fix unreachable statement

Stanse found an unreachable statement in reiserfs_ioctl. There is a
if followed by error assignment and `break' with no braces. Add the
braces so that we don't break every time, but only in error case,
so that REISERFS_IOC_SETVERSION actually works when it returns no
error.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Reiserfs <reiserfs-devel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
fs/reiserfs/ioctl.c