diff --git a/module/zfs/zpl_export.c b/module/zfs/zpl_export.c index 23d85cad9074..7732e9b37430 100644 --- a/module/zfs/zpl_export.c +++ b/module/zfs/zpl_export.c @@ -139,6 +139,9 @@ zpl_commit_metadata(struct inode *inode) fstrans_cookie_t cookie; int error; + if (zfsctl_is_node(inode)) + return (0); + crhold(cr); cookie = spl_fstrans_mark(); error = -zfs_fsync(inode, 0, cr);