X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_error.c;h=8c433163133734d5905741bf1226c128319e82ab;hb=1b8d7ae42d02e483ad94035cca851e4f7fbecb40;hp=b1af54464f0078006146cc790d664a6989f68350;hpb=81450b73dde07f473a4a7208b209b4c8b7251d90;p=linux-2.6-omap-h63xx.git diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c index b1af54464f0..8c433163133 100644 --- a/fs/xfs/xfs_error.c +++ b/fs/xfs/xfs_error.c @@ -80,7 +80,7 @@ xfs_error_test(int error_tag, int *fsidp, char *expression, int i; int64_t fsid; - if (random() % randfactor) + if (random32() % randfactor) return 0; memcpy(&fsid, fsidp, sizeof(xfs_fsid_t));