• Jiri Slaby's avatar
    reiserfs: Fix unreachable statement · e0baec1b
    Jiri Slaby authored
    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: default avatarJiri Slaby <jslaby@suse.cz>
    Cc: Reiserfs <reiserfs-devel@vger.kernel.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    e0baec1b
ioctl.c 5.48 KB