Rename inappropriately named 'mask' fields to 'proposed_flags' instead.
authorKeith Packard <keithp@keithp.com>
Mon, 17 Dec 2007 04:16:50 +0000 (20:16 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 21 Dec 2007 20:16:29 +0000 (12:16 -0800)
commitd1187641d64f442968a3b9ea6a19de6cdd45acd4
treed90398789d325eb265a5680f83dabfc898210e04
parent37fb2ac4071f62bad2c36cc9ca84f9c8feee6bf5
Rename inappropriately named 'mask' fields to 'proposed_flags' instead.

Flags pending validation were stored in a misleadingly named field, 'mask'.
As 'mask' is already used to indicate pieces of a flags field which are
changing, it seems better to use a name reflecting the actual purpose of
this field. I chose 'proposed_flags' as they may not actually end up in
'flags', and in an case will be modified when they are moved over.

This affects the API, but not ABI of the user-mode interface.
14 files changed:
libdrm/xf86drm.c
libdrm/xf86mm.h
linux-core/drm_bo.c
linux-core/drm_bo_move.c
linux-core/drm_objects.h
linux-core/drm_vm.c
linux-core/i915_buffer.c
linux-core/i915_drv.c
linux-core/nouveau_buffer.c
linux-core/via_buffer.c
shared-core/drm.h
shared-core/i915_drv.h
shared-core/via_drv.c
shared-core/via_drv.h