only set the PRIV_FLAGS_NEEDS_FLUSH flag on PMEM buffers

PRIV_FLAGS_NEEDS_FLUSH will trigger an ioctl call into the PMEM
driver in unlock(), so it makes not sense to set this flag for
non pmem buffers.

Change-Id: Ie1e077c10df86d3689b82fa6ce5d6c856fc95688
This commit is contained in:
Mathias Agopian 2010-08-20 11:47:44 -07:00
parent 790f4ca78b
commit 0b39509dc7

Diff Content Not Available