From 0b39509dc778720f6d0fd29c83807e170fa38ff5 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 20 Aug 2010 11:47:44 -0700 Subject: [PATCH] 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