• J
    reiserfs: Fix unreachable statement · e0baec1b
    Jiri Slaby 提交于
    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: NJiri Slaby <jslaby@suse.cz>
    Cc: Reiserfs <reiserfs-devel@vger.kernel.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
    e0baec1b
ioctl.c 5.5 KB