summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/zpl_export.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/zpl_export.c b/module/zfs/zpl_export.c
index 4da3a4531..6f051a048 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);