mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git] / sound / usb / usx2y / us122l.c
index e558931cce16e2ab5ab626184ebec4cef6e9fe2b..709ccad972e2ffa337bbba944efcf39cea0de45f 100644 (file)
@@ -224,9 +224,9 @@ static int usb_stream_hwdep_mmap(struct snd_hwdep *hw,
        }
 
        area->vm_ops = &usb_stream_hwdep_vm_ops;
-       area->vm_flags |= VM_DONTDUMP;
+       vm_flags_set(area, VM_DONTDUMP);
        if (!read)
-               area->vm_flags |= VM_DONTEXPAND;
+               vm_flags_set(area, VM_DONTEXPAND);
        area->vm_private_data = us122l;
        atomic_inc(&us122l->mmap_count);
 out: