From: Cyrill Gorcunov Date: Wed, 4 Jun 2014 23:06:42 +0000 (-0700) Subject: mm: softdirty: don't forget to save file map softdiry bit on unmap X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~227 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b43790eedd31;p=pandora-kernel.git mm: softdirty: don't forget to save file map softdiry bit on unmap pte_file_mksoft_dirty operates with argument passed by a value and returns modified result thus we need to assign @ptfile here, otherwise itis a no-op which may lead to loss of the softdirty bit. Signed-off-by: Cyrill Gorcunov Cc: Pavel Emelyanov Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed