aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zpl_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zpl_inode.c')
-rw-r--r--module/zfs/zpl_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zpl_inode.c b/module/zfs/zpl_inode.c
index ab1fe6823..720d2d9fa 100644
--- a/module/zfs/zpl_inode.c
+++ b/module/zfs/zpl_inode.c
@@ -143,7 +143,7 @@ zpl_mknod(struct inode *dir, struct dentry *dentry, zpl_umode_t mode,
crfree(cr);
ASSERT3S(error, <=, 0);
- return (-error);
+ return (error);
}
static int