]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: softdirty: don't forget to save file map softdiry bit on unmap
authorCyrill Gorcunov <gorcunov@openvz.org>
Thu, 22 May 2014 00:42:44 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:44 +0000 (10:42 +1000)
commitedab7a7e7be320fabec6ecbecee1d7b5ffdf926f
tree04090543eb526d20e8f3657f8276125ad4c5fa2e
parent0b526116c74914179043b926ca7ed50eb88d7c09
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 <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c