diff options
author | Peter Holm <pho@FreeBSD.org> | 2010-11-27 20:27:07 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2010-11-27 20:27:07 +0000 |
commit | bcc5c95b6bbba9ced8dbfa36c558078044c15c0b (patch) | |
tree | 0239df225333857cd5ba912cfdc395a696fe386a /sys/ufs | |
parent | 17ca6d98e1a46ef7cbc6911dd22286c6c7c86681 (diff) | |
download | src-test2-bcc5c95b6bbba9ced8dbfa36c558078044c15c0b.tar.gz src-test2-bcc5c95b6bbba9ced8dbfa36c558078044c15c0b.zip |
Notes
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 9e347cf6f38a..8ed68c329524 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -6024,11 +6024,12 @@ handle_complete_freeblocks(freeblks) vput(vp); } - KASSERT(freeblks->fb_chkcnt == 0 || - ((fs->fs_flags & FS_UNCLEAN) != 0 && (flags & LK_NOWAIT) == 0), - ("handle_workitem_freeblocks: inode %ju block count %jd\n", - (uintmax_t)freeblks->fb_previousinum, - (intmax_t)freeblks->fb_chkcnt)); + if (!(freeblks->fb_chkcnt == 0 || + ((fs->fs_flags & FS_UNCLEAN) != 0 && (flags & LK_NOWAIT) == 0))) + printf( + "handle_workitem_freeblocks: inode %ju block count %jd\n", + (uintmax_t)freeblks->fb_previousinum, + (intmax_t)freeblks->fb_chkcnt); ACQUIRE_LOCK(&lk); /* |