mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +03:00
Clean up large dnode code
Resolves issues discovered when porting to OpenZFS. * Lint warnings. * Made dnode_move_impl() large dnode aware. This functionality is currently unused on Linux. Reviewed-by: Ned Bass <bass6@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matthew Ahrens <mahrens@delphix.com> Closes #6262
This commit is contained in:
committed by
Brian Behlendorf
parent
b8a97fb101
commit
817b1b6e7b
+2
-1
@@ -3419,7 +3419,8 @@ dbuf_write_ready(zio_t *zio, arc_buf_t *buf, void *vdb)
|
||||
if (dn->dn_type == DMU_OT_DNODE) {
|
||||
i = 0;
|
||||
while (i < db->db.db_size) {
|
||||
dnode_phys_t *dnp = db->db.db_data + i;
|
||||
dnode_phys_t *dnp =
|
||||
(void *)(((char *)db->db.db_data) + i);
|
||||
|
||||
i += DNODE_MIN_SIZE;
|
||||
if (dnp->dn_type != DMU_OT_NONE) {
|
||||
|
||||
Reference in New Issue
Block a user