]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nilfs2/recovery.c
nilfs2: replace BUG_ON and BUG calls triggerable from ioctl
[linux-2.6-omap-h63xx.git] / fs / nilfs2 / recovery.c
index a4253f34e1386d23680154e4ff9cfbcfd0185065..ef387b19682ca7d7bf044a5514f6db34f9b9da84 100644 (file)
@@ -92,9 +92,6 @@ static int nilfs_warn_segment_error(int err)
                printk(KERN_WARNING
                       "NILFS warning: No super root in the last segment\n");
                break;
-       case NILFS_SEG_VALID:
-       default:
-               BUG();
        }
        return -EINVAL;
 }