From 18a2485fc8061f7393ca19f7291366bc46fe9bf7 Mon Sep 17 00:00:00 2001 From: Feng Sun Date: Wed, 20 Sep 2017 03:19:08 +0800 Subject: misc: fix meaningless values Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Reviewed-by: Tim Chase Signed-off-by: Feng Sun Closes #6658 --- module/zfs/zpl_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/zpl_file.c') diff --git a/module/zfs/zpl_file.c b/module/zfs/zpl_file.c index 4805abe69..4dfa0dea4 100644 --- a/module/zfs/zpl_file.c +++ b/module/zfs/zpl_file.c @@ -527,7 +527,7 @@ zpl_mmap(struct file *filp, struct vm_area_struct *vma) return (error); mutex_enter(&zp->z_lock); - zp->z_is_mapped = 1; + zp->z_is_mapped = B_TRUE; mutex_exit(&zp->z_lock); return (error); -- cgit v1.2.3