]> Pileus Git - ~andy/linux/blobdiff - fs/xfs/xfs_error.c
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[~andy/linux] / fs / xfs / xfs_error.c
index 610456054dc288e66510ed9e29ae2c2d5f26fb9e..35d3f5b041ddc0977f47981cb88991edee857245 100644 (file)
@@ -66,7 +66,7 @@ xfs_error_test(int error_tag, int *fsidp, char *expression,
        int i;
        int64_t fsid;
 
-       if (random32() % randfactor)
+       if (prandom_u32() % randfactor)
                return 0;
 
        memcpy(&fsid, fsidp, sizeof(xfs_fsid_t));
@@ -178,7 +178,7 @@ xfs_corruption_error(
        inst_t                  *ra)
 {
        if (level <= xfs_error_level)
-               xfs_hex_dump(p, 16);
+               xfs_hex_dump(p, 64);
        xfs_error_report(tag, level, mp, filename, linenum, ra);
        xfs_alert(mp, "Corruption detected. Unmount and run xfs_repair");
 }