diff --git a/module/zfs/zpl_export.c b/module/zfs/zpl_export.c index 4da3a4531c0c..6f051a0485a1 100644 --- a/module/zfs/zpl_export.c +++ b/module/zfs/zpl_export.c @@ -152,6 +152,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);