mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-02 23:06:59 +00:00
For read operation, we have to set the argument _write_ of get_user_pages to 1 since we will write data to pages. Also, we need to SetPageDirty before releasing these pages. Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com> Signed-off-by: Sage Weil <sage@newdream.net>