Mercurial > illumos > illumos-gate
diff usr/src/uts/common/fs/zfs/dnode.c @ 1491:bdcb30e07e7d
6389368 fat zap should use 16k blocks (with backwards compatability)
author | ahrens |
---|---|
date | Sat, 25 Feb 2006 19:17:07 -0800 |
parents | bfaffef2800c |
children | 938876158511 |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/dnode.c Sat Feb 25 17:05:00 2006 -0800 +++ b/usr/src/uts/common/fs/zfs/dnode.c Sat Feb 25 19:17:07 2006 -0800 @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -767,12 +766,6 @@ /* obtain the old block */ db = dbuf_hold(dn, 0); - /* Not allowed to decrease the size if there is data present */ - if (size < db->db.db_size) { - dbuf_rele(db); - goto end; - } - dbuf_new_size(db, size, tx); dnode_setdblksz(dn, size);