Skip to content

Commit a4c9b06

Browse files
committed
Revert "Update module/os/linux/zfs/zfs_ctldir.c"
This reverts commit a0a9beb.
1 parent a0a9beb commit a4c9b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/os/linux/zfs/zfs_ctldir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ zfsctl_root(znode_t *zp)
591591
{
592592
ASSERT(zfs_has_ctldir(zp));
593593
/* Must have an existing ref, so igrab() cannot return NULL */
594-
zhold(ZTOZSB(zp)->z_ctldir);
594+
VERIFY3P(igrab(ZTOZSB(zp)->z_ctldir), !=, NULL);
595595
return (ZTOZSB(zp)->z_ctldir);
596596
}
597597

0 commit comments

Comments
 (0)