]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
remove an unnecessary ifdef __KERNEL__ conditional, no asserts enabled now.
authorNathan Scott <nathans@sgi.com>
Fri, 26 Apr 2002 01:38:59 +0000 (01:38 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 26 Apr 2002 01:38:59 +0000 (01:38 +0000)
libxlog/xfs_log_recover.c

index 5134e3d21bbd75789079908612d61cb63c88bf77..6fcd7e21b2a01b3c1e1e5f3b1d6fc9da01a96b44 100644 (file)
@@ -174,9 +174,7 @@ xlog_find_verify_log_record(xlog_t  *log,
        if (i < start_blk) {
            /* legal log record not found */
            xlog_warn("XFS: Log inconsistent (didn't find previous header)");
-#ifdef __KERNEL__
            ASSERT(0);
-#endif
            error = XFS_ERROR(EIO);
            goto out;
        }