[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 4/6] dax: check synchronous mapping is suppor
From: |
Jakub Staroń |
Subject: |
Re: [Qemu-devel] [PATCH v7 4/6] dax: check synchronous mapping is supported |
Date: |
Tue, 7 May 2019 12:24:32 -0700 |
From: Pankaj Gupta <address@hidden>
Date: Thu, Apr 25, 2019 at 10:00 PM
> +static inline bool daxdev_mapping_supported(struct vm_area_struct *vma,
> + struct dax_device *dax_dev)
> +{
> + return !(vma->flags & VM_SYNC);
> +}
Shouldn't it be rather `return !(vma->vm_flags & VM_SYNC);`? There is
no field named `flags` in `struct vm_area_struct`.
Thank you,
Jakub
- Re: [Qemu-devel] [PATCH v7 4/6] dax: check synchronous mapping is supported,
Jakub Staroń <=