Skip to content

Commit

Permalink
3189 kernel panic in ZFS test suite during hotspare_onoffline_004_neg
Browse files Browse the repository at this point in the history
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Arne Jansen <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
Christopher Siden committed Sep 19, 2012
1 parent e52fb54 commit 8f0b538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions usr/src/lib/libzfs/common/llib-lzfs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Copyright 2010 Nexenta Systems, Inc. All rights reserved.
* Use is subject to license terms.
*/

/*
* Copyright (c) 2012 by Delphix. All rights reserved.
*/
/*
* Copyright 2010 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012 by Delphix. All rights reserved.
*/

/*LINTLIBRARY*/
/*PROTOLIB1*/
Expand Down
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/dmu_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ dmu_tx_count_free(dmu_tx_hold_t *txh, uint64_t off, uint64_t len)
(dn->dn_indblkshift - SPA_BLKPTRSHIFT);

while (level++ < maxlevel) {
txh->txh_memory_tohold += MIN(blkcnt, (nl1blks >> epbs))
txh->txh_memory_tohold += MAX(MIN(blkcnt, nl1blks), 1)
<< dn->dn_indblkshift;
blkcnt = 1 + (blkcnt >> epbs);
}
Expand Down

0 comments on commit 8f0b538

Please sign in to comment.